multiActionButton {multiActionButton}R Documentation

Multi action button

Description

Multi action button for usage in a Shiny UI.

Usage

multiActionButton(
  rotate = TRUE,
  bg = NULL,
  fg = NULL,
  icon = NULL,
  direction = "right",
  subButtons
)

Arguments

rotate

logical, whether to rotate the icon upon clicking the main button

bg

background color of the button

fg

color of the icon

icon

icon name

direction

the opening direction, "top", "right", "bottom", or "left"

subButtons

a list of buttons created with subButton

Value

A shiny.tag object to be included in a Shiny UI.

Examples

if(interactive()){
  shinyMUIdemo()
}

[Package multiActionButton version 1.0.0 Index]