Topic: Why you use class lists in Vue? Question for MDBVue developers / owners
xdon82 free asked 5 years ago
Isn't a bad approach?
For example Navbar.vue
this.collapse.classList.toggle('show-navbar');
this.collapse.classList.remove('hide-navbar');
https://vuejs.org/v2/guide/class-and-style.html
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 5.8.3
- Device: pc
- Browser: Edge Chromium
- OS: win10
- Provided sample code: No
- Provided link: Yes
Magdalena Dembna staff commented 5 years ago
Some of our components have been written some time ago and might need refactoring. Thank you for this remark. Kind regards, Magdalena