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

clipboard.off()主要是用来干什么的呢 #2299

Closed
undefined9999 opened this issue Jun 28, 2019 · 5 comments
Closed

clipboard.off()主要是用来干什么的呢 #2299

undefined9999 opened this issue Jun 28, 2019 · 5 comments

Comments

@undefined9999
Copy link

clipboard.off()主要是用来干什么的呢

@mayunhai
Copy link
Contributor

查了官方文档以及源码,Clipboard好像确实没有 .off() 这个方法

@mayunhai
Copy link
Contributor

已提交修改 待合并

@PanJiaChen
Copy link
Owner

https://github.com/zenorocha/clipboard.js/blob/d17eca050e705ae4932fd1be3e96abe38bd3397c/dist/clipboard.js#L670

offtiny-emitter的方法,不过这里的确没什么用,可以去除。

@PanJiaChen
Copy link
Owner

Fixed in #2307

@undefined9999
Copy link
Author

https://github.com/zenorocha/clipboard.js/blob/d17eca050e705ae4932fd1be3e96abe38bd3397c/dist/clipboard.js#L670

off的英文tiny-emitter的方法,不过这里的确没什么用,可以去除。

了解,感谢大佬解答。

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

3 participants