R: Create Semantic UI Dropdown

uidropdown {shiny.semantic} | R Documentation

## Create Semantic UI Dropdown

### Description

This creates a dropdown using Semantic UI.

### Usage

    uidropdown(..., type = "", name, is_menu_item = FALSE,
      dropdown_specs = list())

### Arguments

`...` | Dropdown content.
`type` | Type of the dropdown. Look at https://semantic-ui.com/modules/dropdown.html for all possibilities.
`name` | Unique name of the created dropdown.
`is_menu_item` | TRUE if the dropdown is a menu item. Default is FALSE.
`dropdown_specs` | A list of dropdown functionalities. Look at https://semantic-ui.com/modules/dropdown.html#/settings for all possibilities.

### Examples

    uidropdown(
      "Dropdown menu",
      uiicon(type = "dropdown"),
      uimenu(
        menu_header("Header"),
        menu_divider(),
        menu_item("Option 1"),
        menu_item("Option 2")
      ),
      name = "dropdown_menu",
      dropdown_specs = list("duration: 500")
    )

[Package shiny.semantic version 0.2.1 Index]