UNPKG

angular-formio-proyectoscolfuturo

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 tha

29 lines (28 loc) 1.07 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, Input } from '@angular/core'; import { FormioAlerts } from './formio.alerts'; var FormioAlertsComponent = /** @class */ (function () { function FormioAlertsComponent() { this.alerts = new FormioAlerts(); } FormioAlertsComponent.decorators = [ { type: Component, args: [{ selector: 'formio-alerts', template: "<div *ngFor=\"let alert of alerts.alerts\" class=\"alert alert-{{ alert.type }}\" role=\"alert\">{{ alert.message }}</div> " },] }, ]; /** @nocollapse */ FormioAlertsComponent.ctorParameters = function () { return []; }; FormioAlertsComponent.propDecorators = { alerts: [{ type: Input }] }; return FormioAlertsComponent; }()); export { FormioAlertsComponent }; if (false) { /** @type {?} */ FormioAlertsComponent.prototype.alerts; }