ukCheckboxInput.Rd
UIkit checkbox input for Shiny
ukCheckboxInput(inputId, label, choices = NULL, selected = NULL)
inputId | character. The input identifider used to access the value |
---|---|
label | character. Input label |
choices | character. Named or unnamed vector of choices. |
selected | character. Selected checkbox input |
# NOT RUN { library(shiny) shinyApp( ui = ukPage( tags$h1("Hello UIkit"), ukCheckboxInput("select", c("Miles per galon" = "mpg", "Rear axle ratio" = "drat")), verbatimTextOutput("selected") ), server = function(input, output) { output$selected <- renderText({ input$select }) } ) # }