nz-tree-base.definitions.d.ts 714 B

123456789101112131415161718192021222324
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { NzTreeNode } from './nz-tree-base-node';
  6. export interface NzFormatEmitEvent {
  7. eventName: string;
  8. node?: NzTreeNode | null;
  9. event?: MouseEvent | DragEvent | null;
  10. dragNode?: NzTreeNode;
  11. selectedKeys?: NzTreeNode[];
  12. checkedKeys?: NzTreeNode[];
  13. matchedKeys?: NzTreeNode[];
  14. nodes?: NzTreeNode[];
  15. keys?: string[];
  16. }
  17. export interface NzFormatBeforeDropEvent {
  18. dragNode: NzTreeNode;
  19. node: NzTreeNode;
  20. pos: number;
  21. }
  22. export interface NzTreeNodeBaseComponent {
  23. markForCheck(): void;
  24. }