Topic: MDB includes Velocity, but I can't seem to use it.
                  
                  kinetiq
                  priority
                  asked 6 years ago
                
Expected behavior
I installed Velocity 2, and expected it to work, but it does not.
Actual behavior
There is a console message saying Velocity is already installed because MDB uses Materialize.
I am currently on MDB 4.5.12, and in this version Velocity 1.2.3 appears to be included. However, calls to Velocity seem to do nothing. For example I tried this, which is right out of the docs:
var elements = document.querySelector("div");
Velocity(elements, { "background-color": "red" });
...Which should turn a lot of things red. Nothing happens. No errors either. Also tried it with jQuery syntax.
What am I missing?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Priority
 - Premium support: Yes
 - Technology: Other
 - MDB Version: -
 - Device: PC
 - Browser: Chrome
 - OS: Windows 10
 - Provided sample code: No
 - Provided link: No