A small package for displaying Foundation style flash messages. This is based on https://github.com/andreavaghi/meteor-flash-messages. Welcoming any pull requests that add thoughtfully to the package.
##Requirements You need to include the Foundation JS and CSS to support the alert boxes. You can do this by including them manually or by using meteor-foundation.
##Usage Install the package:
mrt add foundation-flash-messages
Include the template somewhere in your index.html file:
{{> meteorMessages}}
And then send messages:
Messages.send(STYLE,MESSAGE);
And to clear messages:
Messages.clear();
For example:
Messages.send('alert', 'There was a problem signing you in.');
Messages.send('info', 'We will be shutting down in 10 minutes.');
Messages.send('success', 'Your account has been updated!');