Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 558 Bytes

readme.md

File metadata and controls

27 lines (17 loc) · 558 Bytes

$mol_button

Simple button.

Usage example

<= Submit $mol_button_major
	event_click?val <=> event_submit?val null
	title <= submit_label @ \Submit form

Variations

$mol_button_major - Call-To-Action button $mol_button_minor - Generic button

Properties

enabled() : boolean

Button can be clicked when enable only.

event_click( next? : Event ) : Event

Stores last event when button activated. Overload this property to do your action instead.