charmsToggle: Create a Metro 4 charms toggle

Description Usage Arguments Author(s) Examples

View source: R/metroCharms.R

Description

Build a Metro charms toggle button

Usage

1

Arguments

...

Button text or icon.

id

Charms unique id. Needed by the charmsToggle.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
if(interactive()){
 library(shiny)
 library(shinyMetroUi)

 shiny::shinyApp(
   ui = metroPage(
    fluidRow(
     charmsToggle(id = "mycharm", "Toggle charms")
    )
   ),
   server = function(input, output) {}
 )
}

RinteRface/shinyMetroUi documentation built on Dec. 31, 2019, 8:47 a.m.