본문으로 건너뛰기

onLightboxButton

Description

사용자가 라이트박스의 커스텀 버튼을 클릭할 때 발생

onLightboxButton: (css: string, node: HTMLElement, e: Event) => void;

Parameters

  • css - (required) string - 버튼에 적용된 CSS 클래스의 이름
  • node - (required) HTMLElement - 클릭된 버튼의 HTML 요소
  • e - (required) Event - 기본 'click' 이벤트 객체

Example

gantt.attachEvent("onLightboxButton", function (css, node, e){
// 여기에 코드 작성
});

Details

이벤트는 라이트박스 하단의 커스텀 버튼에 대해서만 발생하며 기본 버튼에서는 발생하지 않습니다.

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.