slackline/element/conversations_select
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Attributes for element.conversations_select.
Values
pub fn confirm(
confirm: block.ConfirmationDialog,
) -> block.Attr(block.ConversationsSelectElement)
A confirmation dialog shown after an item is selected.
pub fn default_to_current_conversation(
default_to_current_conversation: Bool,
) -> block.Attr(block.ConversationsSelectElement)
Pre-select the conversation the user was viewing. Defaults to false.
pub fn filter(
filter: block.ConversationFilter,
) -> block.Attr(block.ConversationsSelectElement)
Narrows the conversations offered.
pub fn focus_on_load(
focus_on_load: Bool,
) -> block.Attr(block.ConversationsSelectElement)
Whether to auto focus this element in a view. Defaults to false.
pub fn initial_conversation(
initial_conversation: String,
) -> block.Attr(block.ConversationsSelectElement)
The conversation ID selected when the menu loads. Takes precedence
over default_to_current_conversation.
pub fn placeholder(
placeholder: String,
) -> block.Attr(block.ConversationsSelectElement)
Placeholder text. Maximum 150 characters.
pub fn response_url_enabled(
response_url_enabled: Bool,
) -> block.Attr(block.ConversationsSelectElement)
Include a response_url in the view_submission payload. Only for
menus in input blocks in modals.