UNPKG

aurelia-form

Version:

Makes working with forms just a tad more pleasant.

31 lines (18 loc) 534 B
import {bindable, customElement, bindingMode} from 'aurelia-framework'; import {resolvedView} from 'aurelia-view-manager'; @resolvedView('spoonx/form', 'form-textarea') @customElement('form-textarea') export class FormTextarea { @bindable name; @bindable classes; @bindable({defaultBindingMode: bindingMode.twoWay}) value; @bindable placeholder; @bindable autofocus; @bindable required; @bindable cols; @bindable rows; @bindable disabled; @bindable maxlength; @bindable readonly; @bindable wrap; }