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

请问能不能设置仅在一个状态下进行监听 #39

Open
Geeksongs opened this issue Apr 25, 2019 · 1 comment
Open

请问能不能设置仅在一个状态下进行监听 #39

Geeksongs opened this issue Apr 25, 2019 · 1 comment

Comments

@Geeksongs
Copy link

每次点击按钮都会触发事件,不管是打开按钮还是关闭按钮,能不能有一种函数仅在打开按钮时生效。

@KIDD-4869
Copy link

这个在回调的时候自己加个判断不就行了么?

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