aurelia-form
Version:
Makes working with forms just a tad more pleasant.
35 lines (23 loc) • 807 B
JavaScript
import {bindable, customElement, bindingMode} from 'aurelia-framework';
import {resolvedView} from 'aurelia-view-manager';
/**
* FormCheckbox should inherit FormInput, so the bindables don't need to be copied.
*
* To achieve this, we will need this pull request to be merged:
* https://github.com/aurelia/templating/pull/507
*/
export class FormCheckbox {
name;
value;
option;
type = 'text';
classes = '';
placeholder = '';
readonly = false;
disabled = false;
options = {};
autofocus;
required;
}