Description Usage Value See Also Examples
View source: R/extend_shinysurveys.R
surveyOptions()
is a helper function for extendInputType
. When
defining custom input types, the choices arguments for shiny UI components
should equal surveyOption()
. See examples for more details.
1 |
NA; used for side effects with extendInputType
.
1 2 3 4 5 6 7 8 9 | extendInputType("inlineRadioButtons", {
shiny::radioButtons(
inputId = surveyID(),
label = surveyLabel(),
selected = character(0),
choices = surveyOptions(),
inline = TRUE
)
})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.