select_type_menu: Type specific select menu lists

View source: R/elements.R

select_type_menuR Documentation

Type specific select menu lists

Description

menu lists that populate with team specific elements, such as users, conversations and channels

Usage

select_type_menu(
  id,
  type = c("users", "conversations", "channels"),
  placeholder,
  initial = NULL,
  confirm = NULL,
  max_select_items = NULL
)

Arguments

id

character, an identifier for the action triggered when a menu option is selected.

type

type of elements to populate, Default: c("users", "conversations", "channels")

placeholder

character, placeholder text shown on the menu.

initial

initial value of the menu, must by an slack ID, Default: NULL

confirm

A confirm object that defines an optional confirmation dialog that appears after a menu item is selected. Default: NULL

max_select_items

integer, Specifies the maximum number of items that can be selected in the menu, Default: NULL

Details

Works with block types: Section, Actions, Input

Value

block menu class

See Also

Other elements: button_element(), checkbox_element(), datepicker_element(), image_element(), overflow_menu(), plaintext_element(), radiobuttons_element(), select_menu()


yonicd/slackblocks documentation built on March 2, 2023, 6:53 a.m.