Skip to content

Latest commit

 

History

History

check

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

$mol_check

Checkbox UI component. See Variants for more concrete implementations.

Variants

Usage examples

Basic

<= Spam $mol_check
	title <= spam_title @ \Send me some spam

Box

<= Spam $mol_check_box
	title <= spam_title @ \Send me some spam
	checked? <=> spam_needed? true
	enabled <= spam_enabled false

Properties

Basic

checked( next? : boolean ) : boolean

Returns checked state of checkbox. User can switch them when checkbox is enabled.

box, expand

enabled() : boolean

Whether the control is interactive.