angular-formio
Version:
Form.io Angular JSON Form Renderer ========================== This library serves as a Dynamic JSON Powered Form rendering library for [Angular](https://angular.io). This works by providing a JSON schema to a ```<formio>``` Angular component, where that f
30 lines (29 loc) • 886 B
TypeScript
import { EventEmitter, TemplateRef } from '@angular/core';
import { GridHeaderComponent } from './GridHeaderComponent';
import { FormioPromiseService } from '../formio-promise.service';
export declare class GridBodyComponent {
header: GridHeaderComponent;
actionAllowed: any;
rowSelect: EventEmitter<any>;
rowAction: EventEmitter<any>;
template: TemplateRef<any>;
rows: Array<any>;
loading: Boolean;
firstItem: number;
lastItem: number;
skip: number;
limit: number;
total: number;
constructor();
load(formio: FormioPromiseService, query?: any): Promise<any>;
onRowSelect(event: any, row: any): void;
onRowAction(event: any, row: any, action: any): void;
/**
* Set the rows for this Grid body.
*
* @param query
* @param items
* @return any
*/
setRows(query: any, items: any): any[];
}