Widget extension providing functionality enabling a Widget to be a child of another Widget.
ROOT_TYPE
Constructor reference used to determine the root of a Widget-based object tree.
Currently used to control the behavior of the root
attribute so that recursing up the object heirarchy can be constrained
to a specific type of Widget. Widget authors should set this property
to the constructor function for a given Widget implementation.
depth
Number representing the depth of this Widget relative to the root Widget in the object heirarchy.
Default: -1
depthChange
Fires when the value for the configuration attribute depth
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
index
Number representing the Widget's ordinal position in its parent Widget.
indexChange
Fires when the value for the configuration attribute index
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
parent
Retrieves the parent of the Widget in the object hierarchy.
parentChange
Fires when the value for the configuration attribute parent
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
root
Returns the root Widget in the object hierarchy. If the ROOT_TYPE property is set, the search for the root Widget will be constrained to parent Widgets of the specified type.
rootChange
Fires when the value for the configuration attribute root
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
selected
Number indicating if the Widget is selected. Possible values are:
Default: 0
selectedChange
Fires when the value for the configuration attribute selected
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade