ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
48 lines (47 loc) • 2.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 { Direction, Directionality } from '@angular/cdk/bidi';
import { AfterContentInit, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
import { Observable } from 'rxjs';
import { BooleanInput, NzDirectionVHType, NzSafeAny, NzSizeLDSType } from 'ng-zorro-antd/core/types';
import { NzListGrid } from './interface';
import { NzListFooterComponent, NzListLoadMoreDirective, NzListPaginationComponent } from './list-cell';
import * as i0 from "@angular/core";
export declare class NzListComponent implements AfterContentInit, OnChanges, OnDestroy, OnInit {
private directionality;
static ngAcceptInputType_nzBordered: BooleanInput;
static ngAcceptInputType_nzLoading: BooleanInput;
static ngAcceptInputType_nzSplit: BooleanInput;
static ngAcceptInputType_nzGrid: '' | NzListGrid | null | undefined;
nzDataSource?: NzSafeAny[];
nzBordered: boolean;
nzGrid?: NzListGrid | '';
nzHeader?: string | TemplateRef<void>;
nzFooter?: string | TemplateRef<void>;
nzItemLayout: NzDirectionVHType;
nzRenderItem: TemplateRef<void> | null;
nzLoading: boolean;
nzLoadMore: TemplateRef<void> | null;
nzPagination?: TemplateRef<void>;
nzSize: NzSizeLDSType;
nzSplit: boolean;
nzNoResult?: string | TemplateRef<void>;
nzListFooterComponent: NzListFooterComponent;
nzListPaginationComponent: NzListPaginationComponent;
nzListLoadMoreDirective: NzListLoadMoreDirective;
hasSomethingAfterLastItem: boolean;
dir: Direction;
private itemLayoutNotifySource;
private destroy$;
get itemLayoutNotify$(): Observable<NzDirectionVHType>;
constructor(directionality: Directionality);
ngOnInit(): void;
getSomethingAfterLastItem(): boolean;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
ngAfterContentInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzListComponent, [{ optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzListComponent, "nz-list, [nz-list]", ["nzList"], { "nzDataSource": "nzDataSource"; "nzBordered": "nzBordered"; "nzGrid": "nzGrid"; "nzHeader": "nzHeader"; "nzFooter": "nzFooter"; "nzItemLayout": "nzItemLayout"; "nzRenderItem": "nzRenderItem"; "nzLoading": "nzLoading"; "nzLoadMore": "nzLoadMore"; "nzPagination": "nzPagination"; "nzSize": "nzSize"; "nzSplit": "nzSplit"; "nzNoResult": "nzNoResult"; }, {}, ["nzListFooterComponent", "nzListPaginationComponent", "nzListLoadMoreDirective"], ["*", "nz-list-header", "nz-list-footer, [nz-list-footer]", "nz-list-load-more, [nz-list-load-more]", "nz-list-pagination, [nz-list-pagination]"]>;
}