使用范围:UI2
Contents
component DatePicker ($UI/system/components/justep/datePicker/datePicker) extends PopPicker
Constructor Top
DatePicker () | |||
DatePicker ( options) |
Properties Top
datetime |
max
最大选择时间 | ||
datetime |
min
最小选择时间 | ||
string |
type
组件类型,取值范围:datetime/date/time |
Attributes Top
string |
type
组件类型,取值范围:datetime/date/time | ||
string |
xid
组件标示 |
Methods Top
Date | getValue () | |
void | setValue (Date datetime) |
Constructor details
Top
public
DatePicker
()
使用场景:日期时间选择,比如选择活动截止时间等;
使用方法:配合button组件或其他组件使用,选择需要的日期时间进行展示或保存;
public
DatePicker
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
DatePicker
()
public
DatePicker
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Properties Detail Top
public
datetime
max
最大选择时间
public
datetime
min
最小选择时间
public
string
type
组件类型,取值范围:datetime/date/time
Attributes Detail Top
public
string
type
组件类型,取值范围:datetime/date/time
public
string
xid
组件标示
Methods Detail Top
public
Date
getValue
()
获取当前选择日期时间
public
void
setValue
(Date datetime)
设置日期时间