meilisearch-admin/app/components/toast.hbs
2022-09-13 18:28:41 +03:00

11 lines
345 B
Handlebars

{{#in-element this.toasts.destinationElement insertBefore=null}}
<div
class='absolute flex items-center p-4 w-full max-w-xs border rounded bg-base-7 shadow-sm'
role='alert'
style={{this.style}}
{{did-insert this.didInsert}}
...attributes
>
{{yield (hash triggerOnClose=this.triggerOnClose)}}
</div>
{{/in-element}}