Topic: Class to disable waves on button
Hi,
Is it possible to add a class who disable waves on button ?
To try I have modify the mdb.js at line 15468 like that :
Waves.attach('.btn:not(.btn-flat):not(.no-wave), .btn-floating', ['waves-light']);
Like that I just need to add class "no-wave" on my button and there is no waves.
Thanks
Mateusz Łubianka staff answered 5 years ago
Hi @webgenery,
If you want to disable waves on some elements, this supports can be helpfull: https://mdbootstrap.com/support/general/disable-waves/ https://mdbootstrap.com/support/general/disable-waves-effect-on-mask/ https://mdbootstrap.com/support/general/how-to-remove-waves-effect-on-buttons-with-btn-class-2/
Best,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.10
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No
webgenery commented 5 years ago
Anyone here ? :( pls