Topic: WOW not defined
Chen Xiao pro asked 7 years ago
Chen Xiao pro answered 7 years ago
Diego Zacarias free answered 4 years ago
I'm using angular 9 and got this msg
core.js:6228 ERROR ReferenceError: WOW is not defined at NgwWowService.init (ngx-wow.js:125) at new AppComponent (app.component.ts:15) at NodeInjectorFactory.AppComponent_Factory [as factory] (app.component.ts:16) at getNodeInjectable (core.js:5993) at instantiateRootComponent (core.js:12819) at createRootComponent (core.js:26475) at ComponentFactory$1.create (core.js:34097) at ApplicationRef.bootstrap (core.js:43095) at core.js:42683 at Array.forEach ()
Arkadiusz Idzikowski staff commented 4 years ago
Do you use any WOW animations in your app or any external dependency responsible for animations?
fanny111 free commented 3 years ago
having the same issue . how do i setup wow for angulr mdb?
Arkadiusz Idzikowski staff commented 3 years ago
@fanny111 I already answered here: https://mdbootstrap.com/support/angular/wow-angular-animations/
Dawid Adach pro answered 7 years ago
<scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script> <scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.2.2/web-animations.min.js"></script>
<script> new WOW().init(); </script>
Chen Xiao pro commented 7 years ago
My fault, I use the template html directly. But angular pro has it's specific syntax, I changed to angular component, everything is ok. Thank you. Btw, template should have different version, I think.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No