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
27 lines (26 loc) • 1.08 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Component } from '@angular/core';
import { FormManagerService } from '../../form-manager.service';
var SubmissionViewComponent = /** @class */ (function () {
function SubmissionViewComponent(service) {
this.service = service;
}
SubmissionViewComponent.decorators = [
{ type: Component, args: [{
template: "<formio [renderer]=\"service.config.renderer\" [src]=\"service.formio.submissionUrl\" [readOnly]=\"true\" (formLoad)=\"service.setForm($event)\" (submissionLoad)=\"service.submissionLoaded($event)\" ></formio> "
},] },
];
/** @nocollapse */
SubmissionViewComponent.ctorParameters = function () { return [
{ type: FormManagerService }
]; };
return SubmissionViewComponent;
}());
export { SubmissionViewComponent };
if (false) {
/** @type {?} */
SubmissionViewComponent.prototype.service;
}