Topic: mdbSideNav breakWidth

digitalmanagerguru free asked 4 years ago

Hi there,

I saw on the docs here on the API tab:

<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 4 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.


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



Specification of the issue

  • User: 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