UNPKG

ng-zorro-antd-mobile

Version:

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

50 lines (49 loc) 2.03 kB
import { OnInit, EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class GridComponent implements OnInit { wrapCls: {}; itemCls: {}; carouselProps: { dots: boolean; dragging: boolean; }; defaultProps: { data: any[]; hasLine: boolean; isCarousel: boolean; columnNum: number; carouselMaxRow: number; prefixCls: string; square: boolean; itemStyle: {}; }; carouselData: any[]; carouselDataTmp: any[]; gridData: any[]; private _data; get columnNum(): number; set columnNum(value: number); get carouselMaxRow(): number; set carouselMaxRow(value: number); itemStyle: object; square: boolean; hasLine: boolean; get isCarousel(): boolean; set isCarousel(value: boolean); activeStyle: boolean; set data(value: Array<any>); onClick: EventEmitter<any>; amGrid: boolean; get amGridSquare(): boolean; get amGridLine(): boolean; get amGridCarousel(): boolean; constructor(); getContentType(value: any): string; init(): void; getCarouselData(rowsArr: any[], pageCount: number, rowCount: number): any[]; getRows(rowCount: number, dataLength: number): any[]; click(data: any, index: any): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "Grid, nzm-grid", never, { "columnNum": { "alias": "columnNum"; "required": false; }; "carouselMaxRow": { "alias": "carouselMaxRow"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "square": { "alias": "square"; "required": false; }; "hasLine": { "alias": "hasLine"; "required": false; }; "isCarousel": { "alias": "isCarousel"; "required": false; }; "activeStyle": { "alias": "activeStyle"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], false, never>; }