A series of stream api. It provides function: pick data, pick date, pick time
@options
index
, number, default selected rowitems
, array, picker's datatextColor
, color, text color in the picker itemselectionColor
, color, the background color of the selected item in the pickerconfirmTitle
, string, confirm button textcancelTitle
, string, cancel button textconfirmTitleColor
, color, confirm button text colorcancelTitleColor
, color, cancel button text colortitle
, string, title of dialogtitleColor
, color, text color of the dialog titletitleBackgroundColor
, color, background color of the dialog title@callback, the callback function after executing this action. ret {Object}
is callback
's parameter:
result
, string, result is one of success,cancel,errordata
, number, the selected index,it exists when result is success.value
, string, required, date picker selected value by default,date's form is yyyy-MM-ddmax
, string, optional, date’s max valuemin
, string, optional, date's min valueresult
, string, result is one of success/cancel/error.data
, string, the selected value, the form of data is yyyy-MM-dd, it exists when result is success.value
, string, required,the form of value is HH:mmresult
, string, result is one of success/cancel/errordata
, string, the selected value, the form of data is HH:mm, it exists when result is success.