跳到主要内容

resizeLightbox

Description

强制将 lightbox 调整大小

resizeLightbox: () => void

Example

var control = gantt.getLightboxSection("description");
control.header.style.display = "none";

gantt.resizeLightbox();

Details

该方法可用于在隐藏/显示某些区域后更新 lightbox 的大小。

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.