본문으로 건너뛰기

onBeforeCollapse

Description

사용자가 스케줄러의 크기를 '전체 화면'에서 원래 크기로 전환하기 위해 확장 아이콘을 클릭할 때 발생합니다.

onBeforeCollapse: () => void

Returns

  • result - (boolean) - 이벤트의 기본 동작이 진행될지(true) 중단될지(false) 결정합니다.

Example

scheduler.attachEvent("onBeforeCollapse",function(){
//여기에 사용자 정의 로직을 작성하세요
return true;
});

Details

노트

이 이벤트를 사용하려면 expand 확장 기능이 활성화되어 있어야 합니다.

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.