angular-formio
Version:
The Form.io dynamic form and data management system for Angular.
18 lines (15 loc) • 379 B
text/typescript
import { Injectable, EventEmitter } from '@angular/core';
export interface FormioResourceMap {
[name: string]: any;
}
()
export class FormioResources {
resources: FormioResourceMap = {};
error: EventEmitter<any>;
onError: EventEmitter<any>;
constructor() {
this.error = new EventEmitter();
this.onError = this.error;
this.resources = {};
}
}