How to use the @material/mwc-base/form-element.customElement function in @material/mwc-base

To help you get started, we’ve selected a few @material/mwc-base examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github material-components / material-components-web-components / packages / checkbox / mwc-checkbox.js View on Github external
})
], Checkbox.prototype, "checked", void 0);
__decorate([
    property({ type: Boolean })
], Checkbox.prototype, "indeterminate", void 0);
__decorate([
    property({ type: Boolean }),
    observer(function (value) {
        this.mdcFoundation.setDisabled(value);
    })
], Checkbox.prototype, "disabled", void 0);
__decorate([
    property({ type: String })
], Checkbox.prototype, "value", void 0);
Checkbox = __decorate([
    customElement('mwc-checkbox')
], Checkbox);
export { Checkbox };
//# sourceMappingURL=mwc-checkbox.js.map