uiinput | R Documentation |
This creates an input shell for the actual input
uiinput(..., class = "")
... |
Other arguments to be added as attributes of the tag (e.g. style, class or childrens etc.) |
class |
Additional classes to add to html tag. |
text_input
#' ## Only run examples in interactive R sessions
if (interactive()) {
library(shiny)
library(shiny.semantic)
ui <- semanticPage(
uiinput(icon("dog"),
numeric_input("input", value = 0, label = "")
)
)
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.