Topic: Rendering SideNav is bad

Bldg25 pro asked 7 years ago


My goal is to get a DoubleNavBar to work in Angular, but lets start with SideNav

When I copy code from Basic usage on this page:
https://mdbootstrap.com/angular/advanced/sidenav/

I get a bunch of rendered inline HTML that clearly isn't connected properly to the relevant component.
https://drive.google.com/file/d/0B4N_Y8pJcRCZY285MmM3SGNIeUE/view?usp=sharing

I have pasted the code directly into the app component of the MDB zip file.

Kevin


Bldg25 pro commented 7 years ago

(there are no errors, unless I click on the hamburger and then I get "toggle is not a function")

Bldg25 pro commented 7 years ago

A *complete* example would possibly suffice along with an explanation as to what I need to do more than simply copy the HTML into the template. If this documentation exists some other place, please point me to it.

Edyta Dabrowska free answered 7 years ago


Please tell me what version of MDB Angular are you using? Recently selectors and mechanics were changed so updating your package may be needed.

Bldg25 pro commented 7 years ago

After an upgrade to version 4.3.1 by downloading the package again all is better.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

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