surveyID {shinysurveys} | R Documentation |
Add correct ID for custom input types
Description
surveyID()
is a helper function for extendInputType
. When
defining custom input types, the inputId
argument for shiny UI components
should equal surveyID()
. See examples for more details.
Usage
surveyID()
Value
NA; used for side effects with extendInputType
.
See Also
Examples
extendInputType("slider", {
shiny::sliderInput(
inputId = surveyID(),
label = surveyLabel(),
min = 1,
max = 10,
value = 5
)
})
[Package shinysurveys version 0.2.0 Index]