⌂
›
Reference
›
Button
Button
A standard elevated action button created with elevated_button.
Example
elevated_button(
content: text(value: "Save"),
on_click: ->(_e) { puts "saved" }
)
Common properties
contenton_clickwidthheightdisabledstyle
Usage
elevated_button(
width: 160,
content: text(value: "Continue"),
on_click: ->(_e) { page.go("/next") }
)
Notes
- Use
content:for the visible label or nested control