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

在线示例的bug #6

Closed
kevinzhou1990 opened this issue Mar 23, 2017 · 5 comments
Closed

在线示例的bug #6

kevinzhou1990 opened this issue Mar 23, 2017 · 5 comments

Comments

@kevinzhou1990
Copy link

在线的示例中没有报错,但是日历无法选择日期,请看一下

@GeoffZhu
Copy link
Owner

我这里是可以选择日期的,你可以把日历翻到2016/12/15, 是可以 点击的 @kevinzhou1990

@kevinzhou1990
Copy link
Author

@GeoffZhu 额。。只有这一个日子是可以点击的哇。。。

@GeoffZhu
Copy link
Owner

在栗子中,我只设置了两个日期 15/12/2016,12/11/2016,,因为写这个组件的时候是2016/11 ,就标在了那个时候 @kevinzhou1990

@chenxiaoxi
Copy link

能否获取所当前item类 dom节点,循环给节点添加click事件呢?

@GeoffZhu
Copy link
Owner

@chenxiaoxi 你可以通过这个(.cal-events)获取所有item的父容器, 然后通过事件代理来做

但是这样做并不好,如果要添加click事件,你可以通过自定义item来做,也就是文档中自定义事件模版这部分

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