index.d.ts 799 B

12345678910111213141516171819202122232425262728293031
  1. import { GUI } from '../../core';
  2. import { Group } from '../../shapes';
  3. import type { BreadcrumbStyleProps, BreadcrumbOptions } from './type';
  4. export type { BreadcrumbStyleProps as BreadcrumbCfg, BreadcrumbOptions };
  5. export declare class Breadcrumb extends GUI<BreadcrumbStyleProps> {
  6. /**
  7. * 标签类型
  8. */
  9. static tag: string;
  10. /**
  11. * 默认参数
  12. */
  13. private static defaultOptions;
  14. /**
  15. *
  16. * @param options
  17. */
  18. constructor(options: BreadcrumbOptions);
  19. render(attributes: BreadcrumbStyleProps, container: Group): void;
  20. /**
  21. * 组件更新
  22. * @param cfg
  23. */
  24. update(cfg: Partial<BreadcrumbStyleProps>): void;
  25. /**
  26. * 面包屑绑定事件
  27. * @param shape
  28. * @param item
  29. */
  30. private bindInnerEvents;
  31. }