Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没有取消事件,也就是点击取消和点击背景没有事件 #16

Closed
kilent opened this issue Dec 6, 2017 · 4 comments
Closed

Comments

@kilent
Copy link

kilent commented Dec 6, 2017

大大可否加上这个呢?

@agiapp
Copy link
Owner

agiapp commented Jan 3, 2018

这两个事件都有的

@kilent
Copy link
Author

kilent commented Jan 5, 2018

嗯大概我表达不清楚,我意思是希望开放这两个事件的接口,我想在取消事件时额外做一些事情,而不只是让选择器消失,目前我在使用中做了一点点修改(当然,只要一更新我的修改又覆盖了...): 增加了一个block在背景视图和取消按钮的事件里调用,让类方法返回实例,用实例实现了block

@agiapp
Copy link
Owner

agiapp commented Jan 5, 2018

可以的,我在下个版本再新加一个方法,提供选择器消失后的回调处理。

@agiapp
Copy link
Owner

agiapp commented Jan 7, 2018

已更新至1.3.0版本,添加了取消事件的回调,可以更新使用。

@agiapp agiapp closed this as completed Oct 22, 2021
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

No branches or pull requests

2 participants