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

vue指令没有解释isFn选项的意义 #133

Closed
youngwind opened this issue Aug 15, 2016 · 2 comments
Closed

vue指令没有解释isFn选项的意义 #133

youngwind opened this issue Aug 15, 2016 · 2 comments

Comments

@youngwind
Copy link

文档中关于自定义指令的部分:https://vuejs.org.cn/guide/custom-directive.html
并没有提到isFn选项的意义。
但是我在看vue-touch的源码的时候看到了作者使用了这个选项,能把这个文档补充上吗?

https://github.com/vuejs/vue-touch/blob/master/vue-touch.js
第22行

另外,我本身也不确定这个选项的意义。

@yanxyz
Copy link
Collaborator

yanxyz commented Aug 19, 2016

isFn 的意思可查看 1.x 的源码。

Jinjiang pushed a commit that referenced this issue Nov 4, 2016
@Jinjiang
Copy link
Member

Jinjiang commented Nov 4, 2016

这里没有更多讨论的话我先关掉了,同时最新的 Vue 和文档已经是 2.0 了,可以继续保持关注
谢谢

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