angular-flash
angular-flash copied to clipboard
question: multiple messages either sequentially or simultaneously?
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.
:+1:
:+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
.
:+1: