移动端仿ios日历插件
使用指南:
点击输入框触发
var calendar = new datePicker();
calendar.init({
'trigger': '#demo1', /按钮选择器,用于触发弹出插件/
'type': 'date',/模式:date日期;datetime日期时间;time时间;ym年月;/
'minDate':'1900-1-1',/最小日期/
'maxDate':'2100-12-31',/最大日期/
'onSubmit':function(){/确认时触发事件/
var theSelectData=calendar.value;
},
'onClose':function(){/取消时触发事件/
}
});
forked from TroubleSeven/app-calendarPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
lingyuchen/app-calendarPlugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
移动端仿ios日历插件
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%