Skip to main content
Version: Current

foundation-layout.layoutcomponentwithstate.applystate

Home > @genesislcap/foundation-layout > LayoutComponentWithState > applyState

LayoutComponentWithState.applyState() method

Handle any state that has been saved previously for this instance of this component. It is not deterministic to know whether this is called before the component is appended to the DOM.

Signature:

applyState(state: T | null): void;

Parameters

ParameterTypeDescription
stateT | null

Returns:

void