select_type_menu | R Documentation |
menu lists that populate with team specific elements, such as users, conversations and channels
select_type_menu( id, type = c("users", "conversations", "channels"), placeholder, initial = NULL, confirm = NULL, max_select_items = NULL )
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 |
Works with block types: Section, Actions, Input
block menu class
Other elements:
button_element()
,
checkbox_element()
,
datepicker_element()
,
image_element()
,
overflow_menu()
,
plaintext_element()
,
radiobuttons_element()
,
select_menu()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.