11 lines
345 B
Handlebars
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}}
|