Skip to main content

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​

Parameter

Type

Description

state

T | null

Returns:

void