Home > @jsplumbtoolkit/browser-ui-plugin-ui-states > UiStatesBrowserUIModel
UiStatesBrowserUIModel class
Signature:
export declare class UiStatesBrowserUIModel
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(surface) | Constructs a new instance of the UiStatesBrowserUIModel class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| activateState(stateId, target) | Activates the UI state with the given ID on the objects contained in the given target. If target is not supplied, the state is activated against the entire dataset. | |
| deactivateState(stateId, target) | Deactivates the UI state with the given ID on the objects contained in the given target. If target is not supplied, the state is deactivated against the entire dataset. | |
| getState(id) | ||
| resetState() | Resets (clears) the UI state of all objects in the current dataset. |