UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

28 lines (27 loc) 1.21 kB
import { Type, EventEmitter } from '@angular/core'; import { ViewModel } from './ViewModel'; export declare class ColumnModel { label: string; value: string; view: string; editor: string; editable: boolean; width: string; options: any; editorOptions: any; textAlign: "center" | "left" | "right"; stylesHeaderClass: string | string[]; stylesBodyClass: string | string[]; show: boolean; constructor(label: string, value: string, view: string, editor: string, editable: boolean, width: string, options?: any, editorOptions?: any, textAlign?: "center" | "left" | "right", stylesHeaderClass?: string | string[], stylesBodyClass?: string | string[], show?: boolean); getFieldNameFromValue(): string; } export declare class RecordViewModel extends ViewModel { static readonly ColumnModel: Type<ColumnModel>; columns: ColumnModel[]; tableBodyHeight: string; columnShowEvent: EventEmitter<any>; columnHideEvent: EventEmitter<any>; constructor(iconURL: string, label: string, columns: ColumnModel[], tableBodyHeight?: string, columnShowEvent?: EventEmitter<any>, columnHideEvent?: EventEmitter<any>); fromJson(jsonData: any): void; }