grom/component/checkbox

Types

pub type Checkbox {
  Checkbox(
    id: option.Option(Int),
    custom_id: String,
    is_default_selected: Bool,
  )
}

Constructors

  • Checkbox(
      id: option.Option(Int),
      custom_id: String,
      is_default_selected: Bool,
    )

    Arguments

    is_default_selected

    Defaults to False.

Values

pub fn new(custom_id custom_id: String) -> Checkbox
Search Document