NestedMenu {NestedMenu}R Documentation

'Nested menu' widget

Description

'Nested menu' HTML widget.

Usage

NestedMenu(
  label,
  items,
  trigger = "left",
  style = "primary",
  size = NULL,
  elementId = NULL
)

Arguments

label

the label of the root button

items

list of items for the nested menu; see the Shiny example

trigger

the way the menu is triggered: "left" to trigger on a left-click, "right" to trigger on a right-click, "hover" to trigger on hover

style

a Bootstrap style for the root button: "primary", "info", "success", "warning" or "danger"

size

size of the root button: NULL (normal), "lg" (large), "sm" (small) or "xs" (extra-small)

elementId

a HTML id; this is usually useless

Value

A htmlwidget object.


[Package NestedMenu version 0.2.0 Index]