Created by @Miliver in Q&As
@Miliver
@Miliver

Hello,

I could use advice. How could I extend duration of flash message?

@jahudka
@jahudka

Hi, this is.. currently almost impossible. Wow. Didn't think I could miss something as obvious as that. Nittro Flashes by default auto-dismiss based on the word count of the message. There's no way to adjust how that's done. You can specify a static dismiss timeout globally like this:

_context.invoke(function(Message) {
  Message.defaults.dismiss = 5000; // in ms
}, {
  Message: 'Nittro.Flashes.Message'
});

Sign in to post a reply