UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

36 lines (35 loc) 1.21 kB
/** * @license * Copyright Alibaba.com All Rights Reserved. * * 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 { 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; }