Constructor
new VisualCheckbox(visual, options)
Create a visual control checkbox.
Parameters:
| Name | Type | Description |
|---|---|---|
visual |
Object | The visual to be controlled. |
options |
Object | Configuration options. |
- Source:
Methods
draw()
Draw this control.
- Source:
erase()
Erase this control.
- Source:
initialize(parentElement)
Initialize this control by attaching it to the specified parent element.
Parameters:
| Name | Type | Description |
|---|---|---|
parentElement |
element | The parent element. |
- Source: