{
this.mouseover = true;
}}
@mouseleave=${() => {
this.mouseover = false;
}}
>
${this["close-button"]
? html`
`
: ""}
${this.state !== "default"
? html`
`
: ""}
`;
}
firstUpdated() {
if (this.toasterRef.value) {
/**
* method that is executed before every repaint
*/
requestAnimationFrame(() => {
/**
* add toast to queue
*/
this.addToastToQueue();
});
}
}
protected updated(changedProperties: PropertyValueMap