Topic: Toast
MarcRohrer free asked 2 years ago
Hi,
when toasting with autohide = true where is the display duration set?
by the way in the doc
delay is marked type Boolean and default 500. One of those should be erroneous...
MR
MarcRohrer free answered 2 years ago
thanx!
But seriously:
The documentation needs to be improved drasticly!
From a "Sets length of animation delay" who would have thought that delay sets the length of display. And in what units? After experimenting with it for a while, I was still not convinced, that this should do the trick.
First identifiers should be named according th what they actually are for. The more descriptive the better. Why not call it displayDurationInMS?
This actually does not even really need more explanation...
Unfortunatly this slows things down tremendously and I am quite disappointed falling from one problem into another :-(
Michał Duszak staff commented 2 years ago
I have added those fixes to our To do list. Thank you for the feedback.
Michał Duszak staff answered 2 years ago
Hello, data-mdb-delay
attribute is responsible for duration. Of course it's type number
. Thank you for noticing this error.
https://mdbootstrap.com/snippets/standard/m-duszak/3574217#html-tab-view
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.10.1
- Device: PC
- Browser: Chrome
- OS: Win 10
- Provided sample code: No
- Provided link: No