Description Usage Arguments Functions See Also
View source: R/bulma-dropdown.R
An interactive dropdown menu for discoverable content.
bulma_dropdown()
- main container
bulma_dropdown_trigger()
- button that is visible
bulma_dropdown_menu()
- part that is hidden by default
bulma_dropdown_content()
- dropdown box
bulma_dropdown_item()
- each item in the dropdown, link or div
bulma_dropdown_divider()
- menu divider
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | bulma_dropdown(
...,
active = FALSE,
hoverable = FALSE,
align = c("left", "right"),
dropup = FALSE,
tag = tags$div
)
bulma_dropdown_trigger(..., tag = tags$div)
bulma_dropdown_menu(..., tag = tags$div)
bulma_dropdown_content(..., tag = tags$div)
bulma_dropdown_item(..., link = TRUE, active = FALSE)
bulma_dropdown_divider()
|
... |
(tag) content |
active |
(flg) whether or not this is active |
hoverable |
(flg) triggered on hover |
align |
(str) right aligned or left aligned (default: left) |
dropup |
(flg) menu will open upward |
tag |
(fun) container tag |
link |
(flg) whether this is a clickable link or just content |
bulma_dropdown
: main container
bulma_dropdown_trigger
: button that triggers and is visible
bulma_dropdown_menu
: menu that contains the content; contains only
bulma_dropdown_content()
.
bulma_dropdown_content
: content box that only contains
bulma_dropdown_item()
and bulma_dropdown_divider()
.
bulma_dropdown_item
: content of the dropdown, should be inside
bulma_dropdown_content()
.
bulma_dropdown_divider
: divider for the bulma_dropdown_item()
s.
Other Bulma Components:
bulma_breadcrumb()
,
bulma_card()
,
bulma_menu()
,
bulma_message()
,
bulma_modal()
,
bulma_navbar()
,
bulma_pagination()
,
bulma_panel()
,
bulma_tabs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.