Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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


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



Please insert min. 20 characters.

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