Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
attached() {
this.myMDCSwitch = new MDCSwitch(this.element.firstElementChild);
}
bind() {
this.myMDCSwitch = new MDCSwitch(this.element.firstElementChild);
}
MdcSwitch.prototype.bind = function bind() {
this.myMDCSwitch = new _mdcSwitch.MDCSwitch(this.element.firstElementChild);
};
_proto.attached = function attached() {
this.myMDCSwitch = new _mdcSwitch.MDCSwitch(this.element.firstElementChild);
};