ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
29 lines (28 loc) • 971 B
TypeScript
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
export declare class NzOptionSelectionChange {
source: NzAutocompleteOptionComponent;
isUserInput: boolean;
constructor(source: NzAutocompleteOptionComponent, isUserInput?: boolean);
}
export declare class NzAutocompleteOptionComponent {
private changeDetectorRef;
private element;
nzValue: any;
nzLabel: string;
nzDisabled: boolean;
readonly selectionChange: EventEmitter<NzOptionSelectionChange>;
active: boolean;
selected: boolean;
constructor(changeDetectorRef: ChangeDetectorRef, element: ElementRef);
select(): void;
deselect(): void;
/** Git display label */
getLabel(): string;
/** Set active (only styles) */
setActiveStyles(): void;
/** Unset active (only styles) */
setInactiveStyles(): void;
scrollIntoViewIfNeeded(): void;
selectViaInteraction(): void;
private emitSelectionChangeEvent;
}