Topic: MBDCarousel interval returns string instead of integer
pienaahj free asked 2 years ago
Expected behavior
interval property should return integer not string
Actual behavior
Browser receives string not integer
Resources (screenshots, code snippets etc.)
<MDBCarousel
v-model="carousel5"
:items="items5"
interval=8000
fade
innerClass="rounded-5 shadow-4-strong" />
runtime-core.esm-bundler.js?d2dd:38 [Vue warn]: Invalid prop: type check failed for prop "interval". Expected Number | Boolean, got String with value "8000".
http://localhost:8080/defaultPage
Mateusz Trochonowicz staff answered 2 years ago
Hi! All you got to do is add colon before interval and then pass value (in qutations of course).
:interval="8000"
Keep coding!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: MDB5 2.0.0
- Device: iMac
- Browser: Chrome
- OS: macOS 10.15.7
- Provided sample code: No
- Provided link: Yes