UNPKG

ng-zorro-antd

Version:

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

35 lines (34 loc) 1.59 kB
/** * 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 { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzSelectItemInterface, NzSelectModeType } from './select.types'; export declare class NzOptionContainerComponent implements OnChanges, AfterViewInit { private elementRef; notFoundContent: string | TemplateRef<NzSafeAny> | undefined; menuItemSelectedIcon: TemplateRef<NzSafeAny> | null; dropdownRender: TemplateRef<NzSafeAny> | null; activatedValue: NzSafeAny | null; listOfSelectedValue: NzSafeAny[]; compareWith: (o1: NzSafeAny, o2: NzSafeAny) => boolean; mode: NzSelectModeType; matchWidth: boolean; itemSize: number; maxItemLength: number; listOfContainerItem: NzSelectItemInterface[]; readonly itemClick: EventEmitter<any>; readonly scrollToBottom: EventEmitter<void>; cdkVirtualScrollViewport: CdkVirtualScrollViewport; private scrolledIndex; constructor(elementRef: ElementRef); onItemClick(value: NzSafeAny): void; onItemHover(value: NzSafeAny): void; trackValue(_index: number, option: NzSelectItemInterface): NzSafeAny; onScrolledIndexChange(index: number): void; scrollToActivatedValue(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; }