更新 laydate 示例

This commit is contained in:
贤心 2023-02-16 09:22:55 +08:00
parent 10c55087c2
commit 0d46fef8f0

View File

@ -157,8 +157,20 @@ layui.use('laydate', function(laydate){
laydate.render({
elem: '#test-first',
min: 0,
shade: [0.1, '#ddd']
//max: '2016-12-30'
shade: [0.1, '#ddd'],
//max: '2016-12-30',
done: function(){
console.log('done',arguments);
},
onConfirm: function(){
console.log('confirm',arguments);
},
onNow: function(){
console.log('now',arguments);
},
onClear: function(){
console.log('clear',arguments);
}
});