본문으로 건너뛰기

전체 화면 확장

전체 화면 확장에 대한 자세한 내용은 전체 화면 모드 기사에서 확인하십시오.

The fullscreen 객체는 아래 API를 제공합니다:

메서드

  • expand (): void - Gantt 차트를 전체 화면 모드로 확장합니다
gantt.ext.fullscreen.expand();
  • collapse (): void - Gantt 차트를 전체 화면 모드에서 일반 모드로 축소합니다
gantt.ext.fullscreen.collapse();
  • toggle (): void - Gantt가 전체 화면으로 확장되어 있을 때는 collapse() 메서드를, 그렇지 않으면 expand() 메서드를 호출합니다
gantt.ext.fullscreen.toggle();
  • getFullscreenElement (): HTMLElement - expand() 메서드에 의해 전체 화면으로 확장될 DOM 요소를 반환합니다
gantt.ext.fullscreen.getFullscreenElement();

기본적으로 getFullscreenElement() 메서드는 Gantt 차트의 HTML 컨테이너를 반환합니다.

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.