Skip to content

ToggleButton

Andrew Sutton edited this page Jan 26, 2024 · 5 revisions

image

Fui.toggleButton [
    toggleButton.icon (Fui.icon.toggleLeftFilled [])
    toggleButton.iconPosition.before'
    toggleButton.checked' true
    toggleButton.onClick (fun _ -> printfn "Toggled")
    toggleButton.text "Toggle"
]
Clone this wiki locally