Skip to content

Conversation

pangjunpeng
Copy link

@pangjunpeng pangjunpeng commented Dec 20, 2018

  1. 点击确定按钮才触发confirm回调,不影响原来done回调
laydate.render({
  elem: '#test1',
  confirm: function(value, start, end){
    console.log(value, start, end)
  }
});

@pangjunpeng pangjunpeng changed the title 增加点击“确定”按钮confirm回调函数 增加confirm回调。done函数中start和end参数增加value属性为Date对象,方便操作 Dec 20, 2018
@pangjunpeng
Copy link
Author

  1. done回调函数中dateendDate参数对象中添加value属性,值为所选时间对象(Date),方便自定义操作
    image

@pangjunpeng pangjunpeng changed the title 增加confirm回调。done函数中start和end参数增加value属性为Date对象,方便操作 增加confirm回调。done函数中date和endDate参数增加value属性为Date对象,方便操作 Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant