Description Usage Arguments Author(s) Examples
Build a Metro charms toggle button
1  | charmsToggle(..., id)
 | 
... | 
 Button text or icon.  | 
id | 
 Charms unique id. Needed by the charmsToggle.  | 
David Granjon, dgranjon@ymail.com
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) {}
 )
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.