UNPKG

aurelia-form

Version:

Makes working with forms just a tad more pleasant.

11 lines (8 loc) 251 B
import {bindable, customElement} from 'aurelia-framework'; import {resolvedView} from 'aurelia-view-manager'; @resolvedView('spoonx/form', 'form-error') @customElement('form-error') export class FormError { @bindable error; @bindable classes; }