@microsoft/fast-element > OwnedState
OwnedState type
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
A read/write stateful value associated with an owner.
Signature:
export type OwnedState<T> = ReadonlyOwnedState<T> & {
set(owner: any, value: T): void;
asReadonly(): ReadonlyOwnedState<T>;
};
References: ReadonlyOwnedState