rendering a flash message via template would allow for unlimited and safe flexibility, as it would allow you to skip the service, and safely render links, not relying on htmlsafe, etc.
I noticed the README has no examples of this? can one be added?
I'm assuming somewhere in the app, there is a
{{#each fms.queue as |foo|}}
some kind of rendering
{{/each}}
but then elsewhere, I'd like to be able to
<FlashMessage @type="success" @otherArgs={{..}} or whatever>
My custom content
</FlashMessage>
and have this usage add to the queue, display, and do all the timeout-y stuff that folks would expect from using the service directly.
rendering a flash message via template would allow for unlimited and safe flexibility, as it would allow you to skip the service, and safely render links, not relying on htmlsafe, etc.
I noticed the README has no examples of this? can one be added?
I'm assuming somewhere in the app, there is a
but then elsewhere, I'd like to be able to
and have this usage add to the queue, display, and do all the timeout-y stuff that folks would expect from using the service directly.