KDInputView = require './inputview.coffee'
module.exports = class KDCheckBox extends KDInputView
constructor:(options = {}, data)->
options.type or= "checkbox"
options.attributes ?= {}
options.attributes.checked ?= options.defaultValue or no
super options, data