Core API Overview > @adpt/core > StateStore > setElementState
StateStore.setElementState() method
Signature:
setElementState(elem: StateNamespace, data: AnyState | undefined): void;
Parameters
Parameter | Type | Description |
---|---|---|
elem | StateNamespace | |
data | AnyState | undefined |
Returns:
void