slackline/element/radio_buttons

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Attributes for element.radio_buttons.

Values

pub fn confirm(
  confirm: block.ConfirmationDialog,
) -> block.Attr(block.RadioButtonsElement)

A confirmation dialog shown after clicking a radio button.

pub fn focus_on_load(
  focus_on_load: Bool,
) -> block.Attr(block.RadioButtonsElement)

Whether to auto focus this element in a view. Defaults to false.

pub fn initial_option(
  initial_option: block.SelectOption,
) -> block.Attr(block.RadioButtonsElement)

The option selected when the group loads. It must match options.

✨ Search Document