slackline/element/multi_conversations_select

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

Attributes for element.multi_conversations_select.

Values

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

A confirmation dialog shown before the choices are submitted.

pub fn default_to_current_conversation(
  default_to_current_conversation: Bool,
) -> block.Attr(block.MultiConversationsSelectElement)

Pre-select the conversation the user was viewing. Defaults to false.

pub fn filter(
  filter: block.ConversationFilter,
) -> block.Attr(block.MultiConversationsSelectElement)

Narrows the conversations offered.

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

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

pub fn initial_conversations(
  initial_conversations: List(String),
) -> block.Attr(block.MultiConversationsSelectElement)

Conversation IDs selected when the menu loads. Ignored when default_to_current_conversation is set.

pub fn max_selected_items(
  max_selected_items: Int,
) -> block.Attr(block.MultiConversationsSelectElement)

Maximum number of selected items. Minimum 1.

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

Placeholder text. Maximum 150 characters.

✨ Search Document