onViewMoreClick
Description
Вызывается, когда пользователь кликает по ссылке 'View more' в Month view (применимо только для Month view)
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 предотвращает переключение Month view на Day view после клика по ссылке '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.