Skip to main content

Home > @jsplumbtoolkit/browser-ui-plugin-state > StatePlugin > restoreState

StatePlugin.restoreState() method

Restores the current state of the UI, either from local storage or a cookie, depending on the browser's capabilities.

Signature:

restoreState(handle?: string): void;

Parameters

ParameterTypeDescription
handlestringThe 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