Defines different styles for a toggleable dropdown
UIkitDropdown(..., dropName = NULL, mode = "click", position = NULL, offset = NULL)
... | 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. |
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) {} ) }