destroy([recursive])
Class: CheckBox. Method inherited from UIComponent.
Description:
Removes the control from it's parent control and from list of all controls. Also prepares this component to be garbage-collected in JavaScript and GUI to free RAM.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
boolean |
false |
Set to true to also destroy all of its descendants recursively |
Returns:
this
