Description Usage Arguments Author(s) Examples
View source: R/UIkitDropdown.R
Defines different styles for a toggleable dropdown
1 2 |
... |
Any element. |
dropName |
Button name. |
mode |
Dropdown activation mode. "Click" by default. If null, it is displayed by hovering over the button trigger. |
position |
Dropdown position: see https://getuikit.com/docs/dropdown#position. |
offset |
Custom offset between the dropdown container and the toggle. Numeric value. |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if(interactive()){
library(shiny)
shiny::shinyApp(
ui = UIkitPage(
title = "My UIkit application",
UIkitDropdown(
position = "bottom-justify",
mode = NULL,
dropName = "Test me",
"Lorem ipsum dolor sit amet, consectetur
adipiscing elit, sed do eiusmod tempor incididunt."
)
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.