ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
34 lines (33 loc) • 1.81 kB
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { ElementRef, EventEmitter, NgZone, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
import { NzDestroyService } from 'ng-zorro-antd/core/services';
import { NzSafeAny } from 'ng-zorro-antd/core/types';
import * as i0 from "@angular/core";
export declare class NzOptionItemComponent implements OnChanges, OnInit {
private elementRef;
private ngZone;
private destroy$;
selected: boolean;
activated: boolean;
grouped: boolean;
customContent: boolean;
template: TemplateRef<NzSafeAny> | null;
disabled: boolean;
showState: boolean;
label: string | number | null;
value: NzSafeAny | null;
activatedValue: NzSafeAny | null;
listOfSelectedValue: NzSafeAny[];
icon: TemplateRef<NzSafeAny> | null;
compareWith: (o1: NzSafeAny, o2: NzSafeAny) => boolean;
readonly itemClick: EventEmitter<any>;
readonly itemHover: EventEmitter<any>;
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, destroy$: NzDestroyService);
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzOptionItemComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzOptionItemComponent, "nz-option-item", never, { "grouped": "grouped"; "customContent": "customContent"; "template": "template"; "disabled": "disabled"; "showState": "showState"; "label": "label"; "value": "value"; "activatedValue": "activatedValue"; "listOfSelectedValue": "listOfSelectedValue"; "icon": "icon"; "compareWith": "compareWith"; }, { "itemClick": "itemClick"; "itemHover": "itemHover"; }, never, never>;
}