container_resize_method
Description
Defines whether the gantt should track resizing of the container at time intervals
container_resize_method: string | undefined
Example
gantt.config.container_resize_method = "timeout";
Default value: undefined
Details
By default, Gantt listens to the "resize" event for the window and for the iframe element placed inside the gantt. Sometimes these events can't be fired (for example, in Salesforce).
If you need Gantt to track resizing of the container at time intervals, set container_resize_method to "timeout":
gantt.config.container_resize_method = "timeout";
Related API
Change log
- Added in v7.1