onContextMenu
Description
Срабатывает, когда пользователь вызывает контекстное меню кликом правой кнопкой мыши внутри планировщика
onContextMenu: (id: string, e: Event) => void;
Parameters
id- (обязательный) string - идентификатор событияe- (обязательный) Event - нативный объект события
Example
scheduler.attachEvent("onContextMenu", function (id, e){
// любая ваша логика здесь
});
Related samples
Details
Если пользователь кликнет по событию, обработчик получит id события, в противном случае — null.
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.