This is a checkbox element.
onclick | When checkbox has been clicked |
onchange | When checkbox has been changed |
oncheck | When checkbox has been checked |
onuncheck | When checkbox has been unchecked |
This is a checkbox element. | |
Sets the element as checked | |
Sets the element as unchecked | |
Switch the actual checked state | |
Appends the event listener to the contents element, as this is the correct place for this widget | |
Sets the CheckBox as checked or unchecked | |
Returns the actual checked state | |
Resets the checkbox to unchecked state | |
Wrapper to reset | |
Sets the default behaviour when onclick events |
Sets the element as checked
p.check = function ()
Sets the element as unchecked
p.uncheck = function ()
Switch the actual checked state
p.switchCheckedState = function ()
Appends the event listener to the contents element, as this is the correct place for this widget
p.addEventListener = function ( event )
Sets the CheckBox as checked or unchecked
p._populateContents = function ( checkedState )
Returns the actual checked state
p._sweepOutContents = function ()
Resets the checkbox to unchecked state
p._reset = function ()
Sets the default behaviour when onclick events
p._eventOnClick = function ()