Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: multiple messages either sequentially or simultaneously? #33

Open
tony-kerz opened this issue Jun 10, 2014 · 3 comments
Open

Comments

@tony-kerz
Copy link

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.

@btoone
Copy link

btoone commented Jun 26, 2014

👍

@StevenClontz
Copy link

👍 👍. 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.

@jcbmllgn
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants