Topic: mdbSideNav breakWidth

digitalmanagerguru free asked 5 years ago


Hi there,

I saw on the docs here on the API tab: https://mdbootstrap.com/docs/vue/navigation/sidenav/

<mdb-side-nav breakWidth="770" ... />

The problem is that I got a error on console saying that breakWidth is expecting a number but a string is being given.

Solution for me was to use like this:

 <mdb-side-nav :breakWidth="770" ... />

So the : is necessary to use this properly. So I guess the docs are not correct or am I missing something?


Magdalena Dembna staff commented 5 years ago

Hi, the problem is invalid syntax in our documentation - the Number type is the one which was meant to be used and : is indeed obligatory. We will fix the documentation as soon as possible. Kind regards, Magdalena



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: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.8.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: Yes