Class CKCheckbox
In: lib/cgikit.rb
Parent: CKElement

Creates a checkbox. This element must be used within CKForm or HTML form.

Bindings

Required attributes: selection and value, or checked

You use this element in two ways. One it the way to use "checked" attribute. The other is the way to use both "selection" and "value" attributes.

checked:If neither "value" nor "selection" attribute is nil and the value of "selection" is equal to that of "value", the check box is checked.
value:When the check box is checked, the value of "value" attribute is set to the component by the method specified by "selection" attribute.
selection:Object that the user chose from the check box.
disabled:If the value is true, the element appears but is not active.
Methods
run    to_s   
Public Instance methods
run()
to_s()