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