slackline/element/checkboxes
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Attributes for element.checkboxes.
Values
pub fn confirm(
confirm: block.ConfirmationDialog,
) -> block.Attr(block.CheckboxesElement)
A confirmation dialog shown after clicking a checkbox.
pub fn focus_on_load(
focus_on_load: Bool,
) -> block.Attr(block.CheckboxesElement)
Whether to auto focus this element in a view. Defaults to false.
pub fn initial_options(
initial_options: List(block.SelectOption),
) -> block.Attr(block.CheckboxesElement)
Options selected when the group first loads. They must match options.
pub fn visible_to_user_ids(
visible_to_user_ids: List(String),
) -> block.Attr(block.CheckboxesElement)
User IDs the element is visible to. Visible to everyone if omitted.