useDynamicProperty
Function: useDynamicProperty()¶
taipy-gui JS module API • Docs
taipy-gui JS module API / useDynamicProperty
useDynamicProperty\<
T
>(value
,defaultValue
,defaultStatic
,checkType
?,nullToDefault
?):T
A React hook to manage a dynamic scalar property.
A dynamic scalar property is defined by a default property and a bound property.
Type Parameters¶
• T
The dynamic property type.
Parameters¶
• value: T
The bound value.
• defaultValue: T
The default value.
• defaultStatic: T
The default static value.
• checkType?: string
• nullToDefault?: boolean
Returns¶
T
The latest updated value.