UIkitDropdown: Create an UIkit dropdown

Description Usage Arguments Author(s) Examples

View source: R/UIkitDropdown.R

Description

Defines different styles for a toggleable dropdown

Usage

1
2
UIkitDropdown(..., dropName = NULL, mode = "click", position = NULL,
  offset = NULL)

Arguments

...

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.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 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) {}
 )
}

DivadNojnarg/shinyUIkit documentation built on July 24, 2019, 8:17 a.m.