Description Usage Arguments Examples
Create Semantic UI Button
1 |
input_id |
The |
label |
The contents of the button or link |
icon |
An optional |
class |
An optional attribute to be added to the button's class. If used
paramters like |
... |
Named attributes to be applied to the button |
1 2 3 4 5 6 7 8 9 10 11 12 | if (interactive()){
library(shiny)
library(shiny.semantic)
ui <- semanticPage(
shinyUI(
button("simple_button", "Press Me!")
)
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.