button {shiny.semantic} | R Documentation |
Create Semantic UI Button
Description
Create Semantic UI Button
Usage
button(input_id, label, icon = NULL, class = NULL, ...)
Arguments
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 |
Examples
if (interactive()){
library(shiny)
library(shiny.semantic)
ui <- semanticPage(
shinyUI(
button("simple_button", "Press Me!")
)
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
}
[Package shiny.semantic version 0.5.1 Index]