slackline/element/external_select

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

Attributes for element.external_select.

Values

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

A confirmation dialog shown after an item is selected.

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

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

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

The option selected when the menu loads.

pub fn min_query_length(
  min_query_length: Int,
) -> block.Attr(block.ExternalSelectElement)

Characters typed before Slack queries your app. Defaults to 3.

pub fn placeholder(
  placeholder: String,
) -> block.Attr(block.ExternalSelectElement)

Placeholder text. Maximum 150 characters.

✨ Search Document