Add support for setting autoHide in advanced mode
Hello,
Is it possible to have a dismiss button? Something that prevents bert alert from just disappearing on its own.
Perhaps I need to use custom template (?), I just haven't figured out how.
Howdy! The dismiss button was removed in v2.0 in favor of making Bert dismissible by click anywhere on the alert message (this is similar to OS style alerts).
That makes sense. However, how do I disable the auto-hiding feature? Should I just set hideDelay to a very high value?
Hmm, that would be the best way now as I stripped the option to set autoHide in v2 as well. Something like Bert.defaults.hideDelay = 99999 should do the trick.
Perhaps this value could be allowed in the "advanced" mode (in the next update). :+1:
Sure :) marking as a feature now.