mirror of https://github.com/layui/layui
更新 laydate 示例
parent
10c55087c2
commit
0d46fef8f0
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue