Read details about the Fullscreen extension in the Full Screen Mode article.
The fullscreen object possesses the following API:
- expand (): void - expands gantt to the full screen mode
- collapse (): void - collapses gantt from the fullscreen mode to the normal mode
- toggle (): void - calls the collapse() method if gantt is expanded to full screen, and the expand() method otherwise
- getFullscreenElement (): HTMLElement - returns a DOM element that will be expanded to full screen by the expand() method.
By default the getFullscreenElement() method returns an HTML container of the Gantt chart.
Back to top