Methods
(static) get(nameopt) → {*}
delivers the current state
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
string |
<optional> |
widget name/id |
- Source:
Returns:
- Type
- *
(static) restore(state)
restores a previous state
Parameters:
Name | Type | Description |
---|---|---|
state |
Object |
- Source:
(async, static) set(name, state, context) → {Promise.<void>}
sets the state for a certain widget
Parameters:
Name | Type | Description |
---|---|---|
name |
string | widget name/id |
state |
* | widget state |
context |
Help4.widget.Widget.Context | widget context |
- Source:
Returns:
- Type
- Promise.<void>