View source: R/input.checkboxGroup.R
input.checkboxGroup | R Documentation |
定义input.checkboxGroup同名的入口函数
input.checkboxGroup(
Id = "checkboxGroupInput1",
label = "请选择:",
choiceNames = list(icon("calendar"), icon("bed"), icon("cog"), icon("bug")),
choiceValues = list("calendar", "bed", "cog", "bug"),
selected = "bug",
inline = FALSE,
width = "100%"
)
Id |
input内码 |
label |
标签 |
choiceNames |
选项名称 |
choiceValues |
选择值 |
selected |
默认初始化选项 |
inline |
是否横向展示 |
width |
宽度 |
返回值
input.checkboxGroup();
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.