option-item.component.d.ts 2.1 KB

12345678910111213141516171819202122232425262728293031
  1. import { ElementRef, EventEmitter, NgZone, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
  2. import { NzDestroyService } from 'ng-zorro-antd/core/services';
  3. import { NzSafeAny } from 'ng-zorro-antd/core/types';
  4. import * as i0 from "@angular/core";
  5. export declare class NzOptionItemComponent implements OnChanges, OnInit {
  6. private elementRef;
  7. private ngZone;
  8. private destroy$;
  9. selected: boolean;
  10. activated: boolean;
  11. grouped: boolean;
  12. customContent: boolean;
  13. template: TemplateRef<NzSafeAny> | null;
  14. disabled: boolean;
  15. showState: boolean;
  16. title?: string | number | null;
  17. label: string | number | null;
  18. value: NzSafeAny | null;
  19. activatedValue: NzSafeAny | null;
  20. listOfSelectedValue: NzSafeAny[];
  21. icon: TemplateRef<NzSafeAny> | null;
  22. compareWith: (o1: NzSafeAny, o2: NzSafeAny) => boolean;
  23. readonly itemClick: EventEmitter<any>;
  24. readonly itemHover: EventEmitter<any>;
  25. constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, destroy$: NzDestroyService);
  26. ngOnChanges(changes: SimpleChanges): void;
  27. ngOnInit(): void;
  28. static ɵfac: i0.ɵɵFactoryDeclaration<NzOptionItemComponent, never>;
  29. static ɵcmp: i0.ɵɵComponentDeclaration<NzOptionItemComponent, "nz-option-item", never, { "grouped": { "alias": "grouped"; "required": false; }; "customContent": { "alias": "customContent"; "required": false; }; "template": { "alias": "template"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showState": { "alias": "showState"; "required": false; }; "title": { "alias": "title"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "activatedValue": { "alias": "activatedValue"; "required": false; }; "listOfSelectedValue": { "alias": "listOfSelectedValue"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; }, { "itemClick": "itemClick"; "itemHover": "itemHover"; }, never, never, true, never>;
  30. static ngAcceptInputType_customContent: unknown;
  31. }