How to use the @material/textfield/dist/mdc.textfield.min.MDCTextField function in @material/textfield

To help you get started, we’ve selected a few @material/textfield 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 SpringflowNL / aurelia-mdc-elements / dist / es2015 / components / textarea / mdc-textarea.js View on Github external
bind() {
		this.myMdcTextfield = new MDCTextField(this.element.firstElementChild);
		this.myMdcTextfield.disabled = this.disabled;
		this.myMdcTextfield.required = this.required;
	}
github SpringflowNL / aurelia-mdc-elements / dist / es2015 / components / textfield / mdc-text-field.js View on Github external
attached() {
		this.myMdcTextfield = new MDCTextField(this.element.firstElementChild);
	}
github SpringflowNL / aurelia-mdc-elements / src / resources / components / textfield / mdc-text-field.js View on Github external
attached() {
        this.myMdcTextfield = new MDCTextField(this.element.firstElementChild);
        this.refreshOptions();
    }
github SpringflowNL / aurelia-mdc-elements / dist / components / textfield / mdc-text-field.js View on Github external
_proto.attached = function attached() {
    this.myMdcTextfield = new _mdcTextfield.MDCTextField(this.element.firstElementChild);
    this.refreshOptions();
  };
github SpringflowNL / aurelia-mdc-elements / src / resources / components / textfield / mdc-text-field.js View on Github external
attached() {
        this.myMdcTextfield = new MDCTextField(this.element.firstElementChild);
    }
github SpringflowNL / aurelia-mdc-elements / dist / commonjs / components / textarea / mdc-textarea.js View on Github external
MdcTextarea.prototype.bind = function bind() {
		this.myMdcTextfield = new _mdcTextfield.MDCTextField(this.element.firstElementChild);
		this.myMdcTextfield.disabled = this.disabled;
		this.myMdcTextfield.required = this.required;
	};
github SpringflowNL / aurelia-mdc-elements / dist / commonjs / components / textfield / mdc-text-field.js View on Github external
MdcTextField.prototype.attached = function attached() {
		this.myMdcTextfield = new _mdcTextfield.MDCTextField(this.element.firstElementChild);
	};
github SpringflowNL / aurelia-mdc-elements / src / resources / components / textarea / mdc-textarea.js View on Github external
attached() {
        this.myMdcTextfield = new MDCTextField(this.element.firstElementChild);
        this.myMdcTextfield.disabled = this.disabled;
        this.myMdcTextfield.required = this.required;

        if (this.value) {
            this.myMdcTextfield.value = this.value;
        }
    }
github SpringflowNL / aurelia-mdc-elements / dist / components / textarea / mdc-textarea.js View on Github external
_proto.attached = function attached() {
    this.myMdcTextfield = new _mdcTextfield.MDCTextField(this.element.firstElementChild);
    this.myMdcTextfield.disabled = this.disabled;
    this.myMdcTextfield.required = this.required;

    if (this.value) {
      this.myMdcTextfield.value = this.value;
    }
  };