NestedMenu: 'Nested menu' widget

View source: R/NestedMenu.R

NestedMenuR 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.


NestedMenu documentation built on Sept. 17, 2022, 1:05 a.m.