Topic: mdb for angular does not work without jquery

mryabko free asked 5 years ago


Hi,I was playing around with mdb for angular and I thought that you guys made it to be completely free from jquery.I started to build a page using an example that you have published under Layout->NavigationExample with title: Full Page Intro with fixed, transparent NavbarI have copied css and html to my app but when scroll down menu is not changing bgcolor. so the effect top-nav-collapse class is not applied to <nav> element. I have checked in your example publishedhttps://mdbootstrap.com/previews/docs/latest/html/navigation/intro-fixed-transparent.htmland I see that at the bottom you actually include the following scripts. <!-- JQuery --> <script type=\\\\\\\"text/javascript\\\\\\\" src=\\\\\\\"../../js/jquery-3.3.1.min.js\\\\\\\"></script> <!-- Tooltips --> <script type=\\\\\\\"text/javascript\\\\\\\" src=\\\\\\\"../../js/popper.min.js\\\\\\\"></script> <!-- Bootstrap core JavaScript --> <script type=\\\\\\\"text/javascript\\\\\\\" src=\\\\\\\"../../js/bootstrap.min.js\\\\\\\"></script> <!-- MDB core JavaScript --> <script type=\\\\\\\"text/javascript\\\\\\\" src=\\\\\\\"../../js/mdb.min.js\\\\\\\"></script> <script> wow = new WOW().init(); </script> Now, my question is how to get an example that would work in the same way but without jquery. This example that I have mentioned is published under mdb angular documentation.

Arkadiusz Idzikowski staff answered 5 years ago


Dear mryabko, I just checked the mentioned example from angular docs and it works fine for me without any additional scripts. Which browser and version do you use? Are there any errors in console? Best, Arek

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags