| ds_dropdown | R Documentation |
Create a dropdown menu using Designsystemet styles.
ds_dropdown(trigger, ..., id = NULL, class = NULL)
trigger |
The trigger element (usually a button) |
... |
Dropdown panel content |
id |
Optional ID for the dropdown panel. Auto-generated if omitted. |
class |
Additional CSS classes |
A Shiny tag object
ds_dropdown(
trigger = ds_button("Options"),
ds_list(ds_list_item("Edit"), ds_list_item("Delete"))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.