跳到主要内容

focus

Description

将焦点设置在甘特图上

focus: () => void

Example

gantt.focus();

Details

注释

此方法属于keyboard_navigation扩展,因此请确保先启用keyboard_navigation插件。更多详情请参见键盘导航文档。

在版本 4.1 中新增

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.