ng-zorro-antd-mobile
Version:
An enterprise-class mobile UI components based on Ant Design and Angular
44 lines (43 loc) • 1.18 kB
TypeScript
import { OnInit, EventEmitter } 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;
columnNum: number;
carouselMaxRow: number;
itemStyle: object;
square: boolean;
hasLine: boolean;
isCarousel: boolean;
activeStyle: boolean;
data: Array<any>;
onClick: EventEmitter<any>;
amGrid: boolean;
readonly amGridSquare: boolean;
readonly amGridLine: boolean;
readonly 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;
}