甘特图 API方法showCover页面内容showCover Description 显示 lightbox 模态覆盖层,阻止与屏幕其他部分的交互 showCover: (box?: HTMLElement) => voidParameters box - (optional) HTMLElement - 要显示的元素 Examplegantt.showCover();Details当提供输入参数时,该方法会通过将元素的 display 属性设置为 "block" 来显示指定的 HTML 元素,并将其居中显示在屏幕上。Related API hideCover 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.