index.d.ts 569 B

123456789101112131415161718192021222324
  1. /**
  2. * @description 视频 菜单
  3. * @author tonghan
  4. */
  5. import Editor from '../../editor/index';
  6. import PanelMenu from '../menu-constructors/PanelMenu';
  7. import { MenuActive } from '../menu-constructors/Menu';
  8. declare class Video extends PanelMenu implements MenuActive {
  9. constructor(editor: Editor);
  10. /**
  11. * 菜单点击事件
  12. */
  13. clickHandler(): void;
  14. /**
  15. * 创建 panel
  16. * @param link 链接
  17. */
  18. private createPanel;
  19. /**
  20. * 尝试修改菜单 active 状态
  21. */
  22. tryChangeActive(): void;
  23. }
  24. export default Video;