Abstract
The event handler for this control. Although it is permitted to set
this property directly it is recommended that the setAction(...)
method is used to define the event handler actions.
Add a child to this control using its relative position [rx, ry]. If rx and ry are not provided then it uses the values set in the child.
this control
is the actual control or its name
Optional
rx: numberOptional
ry: numberSets the pane background color to use when open. There are 2 predined option ...
Alternatively the user can provide any valid CSS color specification but if invalid the results are unpredicatable and likely to cause the sketch to fail.
this control
'light', 'dark' or valid CSS color specification
this controls parent
Sets the icon and its alignment relative to any text in the control.
Processing constants are used to define the icon alignment.
this control
the icon to use for this control
Optional
align: numberLEFT or RIGHT
Remove a child control from this one so that it stays in same screen position
this control
the control to remove or its name
This sets the event handler to be used when this control fires an event. The parameter can take three forms:
this control
the function to handle this controls event
Generated using TypeDoc
Base class for all controls
It provides most of the functionality for the controls