Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted() {
this.adapter_ = {
addClass: className => this.$set(this.classes, className, true),
removeClass: className => this.$delete(this.classes, className),
computeContentClientRect: () =>
this.$refs.content.getBoundingClientRect(),
setContentStyleProperty: (prop, value) => {
this.$set(this.styles, prop, value);
},
};
this.foundation = new MDCTabIndicatorFoundation(this.adapter_);
this.foundation.init();
},
beforeDestroy() {