← Back
Button
[basic]Interactive button with click handling
Interactive button with click handling
For the full interactive experience:
$ mix raxol.playground
Code
row style: %{gap: 2} do
[
button("Primary [1]", on_click: :primary),
button("Secondary [2]", on_click: :secondary),
button("Reset [r]", on_click: :danger)
]
end