shiny_text_input | R Documentation |
Universal binding for Shiny text input on custom user interface. Value of this input is extracted via jQuery using $().val() function. This function is just a simple binding over shiny_input. Please take a look at shiny_input documentation for more information.
shiny_text_input(...)
... |
Possible arguments are the same as in shiny_input() method: input_id, shiny_ui, value. Type is already predefined as "text" |
library(shiny)
library(shiny.semantic)
# Create a color picker
uirender(
tagList(
div(class = "ui input",
style = NULL,
"Color picker",
shiny_text_input(
"my_id",
tags$input(type = "color", name = "my_id", value = "#ff0000"))
)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.