Primitive checkbox. Can be used for fast UI creation for debugging purposes.

Constructor

new (?parent:Object, ?_label:String)

Variables

checked:Bool

Current checkbox state. Does not trigger onChange when changed, use setChecked function instead if even is required.

label:Text

Methods

dynamiconChange (value:Bool):Void

setChecked (v:Bool):Void

Sets checked flag and triggers onChange if value changes.