Skip to main content

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

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