gyobutton Example



♦︎ Default Button
︎♦︎ Toggle Button
♦︎ Progress Button


⌾ Default Button



⌾ Button Sytle Customizing

Arguments of button() is a object for style.
You can make your button style.



⌾ Button from Varius Elements

You can make varius elements 'BUTTON'.


Div Element

Section Element


⌾ Get Elements

You can get elements(only 'block' or 'inline-block' display property) using css selector value.





⌾ Add Event Listener




⌾ Toggle Button



⌾ Toggle Sytle Customizing

The 2nd and 3rd arguments of toggle() is a object for style.
Toggle-on and toggle-off.

⌾ Toggle Event Callback Function




⌾ Progress Event Callback Function