Home > @jsplumbtoolkit/browser-ui-plugin-state > StatePlugin > saveState
StatePlugin.saveState() method
Saves the current state of the Surface we are attached to, either to local storage or a cookie, depending on the browser's capabilities.
Signature:
saveState(handle?: string): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| handle | string |
Returns:
void