Class: Checkbox

Checkbox(options)

A generic checkbox control.

Constructor

new Checkbox(options)

Create a checkbox control.
Parameters:
Name Type Description
options Object Configuration options.
Author:
  • Lawrence Fyfe
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: