option.d.ts 1.4 KB

12345678910111213141516171819202122232425
  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 { ElementRef, EventEmitter, NgZone, OnChanges, OnInit, SimpleChanges } from '@angular/core';
  6. import { NzDestroyService } from 'ng-zorro-antd/core/services';
  7. import { NzTreeNodeComponent } from './node';
  8. import * as i0 from "@angular/core";
  9. export declare class NzTreeNodeOptionComponent<T> implements OnChanges, OnInit {
  10. private ngZone;
  11. private host;
  12. private destroy$;
  13. private treeNode;
  14. nzSelected: boolean;
  15. nzDisabled: boolean;
  16. readonly nzClick: EventEmitter<MouseEvent>;
  17. constructor(ngZone: NgZone, host: ElementRef<HTMLElement>, destroy$: NzDestroyService, treeNode: NzTreeNodeComponent<T>);
  18. get isExpanded(): boolean;
  19. ngOnChanges(changes: SimpleChanges): void;
  20. ngOnInit(): void;
  21. static ɵfac: i0.ɵɵFactoryDeclaration<NzTreeNodeOptionComponent<any>, never>;
  22. static ɵcmp: i0.ɵɵComponentDeclaration<NzTreeNodeOptionComponent<any>, "nz-tree-node-option", never, { "nzSelected": { "alias": "nzSelected"; "required": false; }; "nzDisabled": { "alias": "nzDisabled"; "required": false; }; }, { "nzClick": "nzClick"; }, never, ["*"], true, never>;
  23. static ngAcceptInputType_nzSelected: unknown;
  24. static ngAcceptInputType_nzDisabled: unknown;
  25. }