Topic: Found an error in the documentation

Ouroboros Studio free asked 1 year ago


Hello, I have found what I think is an error in the documentation ( a typo )

The error can be found here : https://mdbootstrap.com/docs/b5/angular/navigation/navbar/#subsection-toggler

The toggleFirstExample in the button should be togglerFirstExample This prevents the code exemple from working after a simple copy / paste

<nav class="navbar navbar-expand-lg navbar-light bg-light">
  <div class="container-fluid">
    <button
      class="navbar-toggler"
      type="button"
      (click)="toggleFirstExample.toggle()"
          aria-controls="navbarTogglerDemo01"
      aria-expanded="false"
      aria-label="Toggle navigation"
    >
      <i class="fas fa-bars"></i>
    </button>
    <div
      class="collapse navbar-collapse"
      id="navbarTogglerDemo01"
      mdbCollapse
      #togglerFirstExample="mdbCollapse"
    >

I wrote a ticket as I did not find any other way of indicating the issue. If this is not the proper procedure for issues with the documentation please indicate how to properly communicate those issues

Best regards



@Ouroboros Studio Thank you for lettings us know about this problem, it should be fixed now.



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

  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 1.0.0
  • Device: Irrelevant
  • Browser: Irrelevant
  • OS: Irrelevant
  • Provided sample code: Yes
  • Provided link: Yes