angular-flash icon indicating copy to clipboard operation
angular-flash copied to clipboard

question: multiple messages either sequentially or simultaneously?

Open tony-kerz opened this issue 10 years ago • 3 comments

hi luke,

i have something like:

<div flash-alert active-class="in alert" class="fade">
    <strong class="alert-heading">Boo!</strong>
    <span class="alert-message">{{flash.message}}</span>
</div>

and i have a situation where i am sending one message there and then almost immediately after (before the first message fades), sending another message.

right now, i am only seeing the first message.

can you suggest any strategy to get the messages to show sequentially (so after the first one fades, the second one shows and then fades)?

or if that is a tall order, i'll take any suggestions, like even have them show simultaneously, etc.

i should add that in my particular case, one of the messages is a success, and one is an error, so i wouldn't mind having one of each, but even when hidden they are taking up some space and adding two creates a larger gap that i don't think the designers will appreciate.

regards, tony.

tony-kerz avatar Jun 10 '14 21:06 tony-kerz

:+1:

btoone avatar Jun 26 '14 12:06 btoone

:+1: :+1:. It'd be nice if alert.warn was like an array to which messages could be pushed. Then the flash-alert directive could duplicate itself for each message in alert.warn.

StevenClontz avatar Jul 08 '14 17:07 StevenClontz

:+1:

jcbmllgn avatar Sep 16 '14 22:09 jcbmllgn