API Reference > ui-framework > Item > ItemProps > stateFunc stateFunc MethodOptional Deprecated - use ConditionalStringValue or ConditionalBooleanValue instead Function called to get the new items state stateFunc(state: Readonly<BaseItemState>): BaseItemState Parameter Type Description state Readonly<BaseItemState> Returns - BaseItemState Defined in ui/framework/src/ui-framework/shared/ItemProps.ts Line 57 Last Updated: 11 June, 2024