bert icon indicating copy to clipboard operation
bert copied to clipboard

hideDelay per notification

Open twentyfortysix opened this issue 7 years ago • 2 comments

Hi there I know it is not a bug, but..

It would be nice to have a chance to set up a time (hideDelay) per notification. Some notifications are short some longer. In my case for example I have one longer notification and have to make all of them stay unnaturally long as there is only general hideDelay definition.

thanks for considering this feature.

twentyfortysix avatar Sep 08 '18 10:09 twentyfortysix

Hey @twentyfortysix thanks for sharing. I'll keep this in mind. Bert is likely going to be rewritten and included in our UI framework, Fur, over at Clever Beagle: https://cleverbeagle.com/fur

cleverbeagle avatar Sep 14 '18 17:09 cleverbeagle

+1 for this. In the meantime, @twentyfortysix, you can do this:

          Bert.defaults.hideDelay = 10000;
          Bert.alert( { message: error.reason, type: 'danger' } );
          Bert.defaults.hideDelay = 3500;

RealHandy avatar Apr 30 '19 15:04 RealHandy