Description Usage Arguments Examples
Wired Search Input
1 2 | wired_search(inputId, label = NULL, placeholder = NULL, value = "",
width = NULL)
|
inputId |
The |
label |
Display label for the control, or |
placeholder |
A character string giving the user a hint as to what can be entered into the control. |
value |
Initial value for the input. |
width |
The width of the input, e.g. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | if (interactive()) {
library(shiny)
library(wired)
ui <- fluidPage(
wired_search(
inputId = "srch",
label = "Text (Enter to update):",
placeholder = "Write something!"
),
verbatimTextOutput(outputId = "res")
)
server <- function(input, output, session) {
output$res <- renderPrint(input$srch)
}
shinyApp(ui, server)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.