onViewMoreClick
Description
当用户点击月视图中的"View more"链接时触发(仅适用于月视图)
onViewChange: (date: object) => boolean
Parameters
date- (required) object - 用户点击"View more"链接所在单元格的日期
Returns
result- (boolean) - 决定是否执行默认事件动作,返回true则继续,返回false则阻止
Example
scheduler.attachEvent("onViewMoreClick", function(date){
// 在此处添加自定义逻辑
});
Related samples
Details
此事件可以被阻止。返回false将阻止月视图在点击"View more"链接后切换到日视图。
Related API
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.