Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.$nextTick(function () {
this.mdcDrawer = new MDCDrawer(this.$el)
})
}
this.$nextTick(function () {
this.mdcDrawer = new MDCDrawer(this.$el)
})
}
public componentDidMount() {
super.componentDidMount();
if (this.control && (this.props.modal || this.props.dismissible)) {
this.MDComponent = new MDCDrawer(this.control);
this.MDComponent.listen('MDCDrawer:opened', this.onOpen);
this.MDComponent.listen('MDCDrawer:closed', this.onClose);
}
}
this.$nextTick(function () {
if (!this.mdcDrawer && (this.dismissible || this.modal)) { this.mdcDrawer = new MDCDrawer(this.$el) }
})
},