input.date | R Documentation |
定义input.date的同名入口函数
input.date(
Id = "dateInput1",
label = "请选择一个日期:",
value = Sys.Date(),
min = as.Date("1984-01-01"),
max = as.Date("2100-12-31"),
format = "yyyy-mm-dd",
startview = "month",
weekstart = 1L,
language = "zh-CN",
width = "100%",
autoclose = TRUE
)
Id |
inputId |
label |
标签名称 |
value |
默认当前日期 |
min |
最小值 |
max |
最大值 |
format |
日期格式 |
startview |
日历格式 |
weekstart |
一周开始某哪一天 |
language |
语言默认为中文 |
width |
宽度 |
autoclose |
自动关闭 |
返回值
input.date();
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.