You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kgdxpr e69712b1d2
'commit'
12 months ago
..
locale 'commit' 12 months ago
README.en-US.md 'commit' 12 months ago
README.md 'commit' 12 months ago
date-time-picker.d.ts 'commit' 12 months ago
date-time-picker.js 'commit' 12 months ago
date-time-picker.json 'commit' 12 months ago
date-time-picker.wxml 'commit' 12 months ago
date-time-picker.wxss 'commit' 12 months ago
props.d.ts 'commit' 12 months ago
props.js 'commit' 12 months ago
type.d.ts 'commit' 12 months ago
type.js 'commit' 12 months ago

README.en-US.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

:: BASE_DOC ::

API

DateTimePicker Props

name type default description required
cancel-btn String 取消 - N
confirm-btn String - - N
end String / Number - - N
external-classes Array - ['t-class', 't-class-confirm', 't-class-cancel', 't-class-title'] N
footer Slot true deprecated N
format String 'YYYY-MM-DD HH:mm:ss' - N
header Boolean / Slot true - N
mode String / Array 'date' TypescriptDateTimePickerMode type DateTimePickerMode = TimeModeValues | Array<TimeModeValues> type TimeModeValues = 'year' | 'month' | 'date' | 'hour' | 'minute' | 'second'see more ts definition N
show-week Boolean false - N
start String / Number - - N
title String - title of picker N
value String / Number - TypescriptDateValue type DateValue = string | numbersee more ts definition N
default-value String / Number undefined uncontrolled property。TypescriptDateValue type DateValue = string | numbersee more ts definition N
visible Boolean false - N

DateTimePicker Events

name params description
cancel - -
change (value: DateValue) -
close (trigger: TriggerSource) 1.0.1see more ts definition
type TriggerSource = 'overlay' | 'cancel-btn' | 'confrim-btn'
confirm (value: DateValue) 1.0.1
pick (value: DateValue) -