Function
A widget for a data object
This widget represents an object with '_properties' property. If child 'DataProperty' widgets exist, they are used to initialize propertiy values of '_properties' object.
Function
Call _initializeProperties()
See _initializeProperties().
Function
A boolean to reset current properties
Initialize a data object
If this widget has child DataProperty widgets, their getValue() methods are called and set the return value to a property specified by 'name' attribute of the child widgets.
Function
A property name
Return a property value
This method returns the value of a property, specified with 'property' argument, in '_properties' object.
A property value
anything
Function
A property name
A property value
Store a property value
This method stores 'value' as a property, specified with 'property' argument, in '_properties' object.
Function
A widget to define a data property
Attributes of this widget are used to add a property to the parent Data widget. 'type' attribute specifies one of "string", "number", "boolean", "array", "object" and "element" (DOM Element) (default to "string"). If 'type' is "array" or "object", child DataProperty widgets are used to initialize the array elements or the object properties.
A
property name
A
property type name
A
property value
Function
Function
Returns a property value
If 'type' is specified, 'value' attribute is converted to the specified type and returned. Otherwise, 'value' attribute is returned as is.
A property value
anything
Object
Object
Object