onEventAdded

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

void onEventAdded(string id,object ev);
idstring이벤트의 고유 식별자
evobject이벤트 객체 자체

Example

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

Related samples

맨 위로