본문으로 건너뛰기

onEventAdded

Description

스케줄러에 새로운 이벤트가 추가될 때 트리거됩니다.

onEventAdded: (id: string, ev: object) => void;

Parameters

  • id - (required) string - 이벤트의 고유 식별자
  • ev - (required) object - 이벤트 객체 자체

Example

scheduler.attachEvent("onEventAdded", function(id,ev){
//여기에 커스텀 로직을 작성할 수 있습니다.
});
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.