甘特图 API方法showCover页面内容showCover Description 显示 lightbox 模态覆盖层,阻止与屏幕其他部分的交互 showCover: (box?: HTMLElement) => voidParameters box - (optional) HTMLElement - 一个要隐藏的元素 Examplegantt.showCover();Details如果指定输入参数,该方法将显示指定的 HTML 对象元素(通过将 display 属性设为 "block")并在屏幕中央显示。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.