WidgetConfigurationSave class

Methods

Invalid()

method to encapsulate an invalid state that is returned by the widget configuration

Valid(CustomSettings)

method to encapsulate a valid state that is returned by the widget configuration

Method Details

Invalid()

method to encapsulate an invalid state that is returned by the widget configuration

static function Invalid(): Promise<SaveStatus>

Returns

Promise<SaveStatus>

promise encapsulating the state being returned.

Valid(CustomSettings)

method to encapsulate a valid state that is returned by the widget configuration

static function Valid(customSettings: CustomSettings): Promise<SaveStatus>

Parameters

customSettings
CustomSettings

settings from the widget configuration to be returned as part of this state.

Returns

Promise<SaveStatus>

promise encapsulating the state being returned.