![]() ![]() The flash message service is designed to be Fluent, allowing you to chain methods on the service easily. If you're sending too many messages, and need a way for your users to clear all messages from screen, you can use this method: ![]() It's best practice to use flash messages sparingly, only when you need to notify the user of something. Then, inject the `flashMessages` service and use one of its convenience methods: First, add one of the ( #displaying-flash-messages) to your app. Because this addon makes use of attribute bindings, which were introduced in ember `1.11.0`, earlier versions of ember are not compatible with the latest version. This addon is tested against the `release`, `beta` and `canary` channels, `~1.11.0`, and `1.12.1`. * ( #styling-with-foundation-or-bootstrap) * ( #convenience-methods-bootstrap-foundation-alerts) This ember addon adds a flash message service and component to your app. *Simple, highly configurable flash messages for ember.*
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |