ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
35 lines (34 loc) • 1.51 kB
TypeScript
/**
* @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 { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
import { 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 {
notFoundContent: string | undefined;
menuItemSelectedIcon: TemplateRef<NzSafeAny> | null;
dropdownRender: TemplateRef<NzSafeAny> | null;
activatedValue: NzSafeAny | null;
listOfSelectedValue: NzSafeAny[];
compareWith: (o1: NzSafeAny, o2: NzSafeAny) => boolean;
mode: NzSelectModeType;
matchWidth: boolean;
listOfContainerItem: NzSelectItemInterface[];
readonly itemClick: EventEmitter<any>;
readonly itemHover: EventEmitter<any>;
readonly scrollToBottom: EventEmitter<void>;
cdkVirtualScrollViewport: CdkVirtualScrollViewport;
private scrolledIndex;
readonly itemSize = 32;
readonly maxItemLength = 8;
onItemClick(value: NzSafeAny): void;
onItemHover(value: NzSafeAny): void;
trackValue(_index: number, option: NzSelectItemInterface): NzSafeAny;
onScrolledIndexChange(index: number): void;
ngOnChanges(changes: SimpleChanges): void;
}