Home > @jsplumbtoolkit/browser-ui-plugin-state > StatePlugin > clearState
StatePlugin.clearState() method
Clears the state stored by the given handle.
Signature:
clearState(handle?: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
handle | string | The handle to restore the state from. If this is not supplied, and stateHandle was supplied as a constructor parameter, that is used instead. |
Returns:
void