-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
I have overrided close button html. In version 8.0.0 generated code was looking fine.
After update to newest version 11.0.1 that was needed to update Angular, generated code looks different.
Now my custom close button is wrapped by generated button element.
toasterConfig = new ToasterConfig({
tapToDismiss: true,
mouseoverTimerStop: true,
animation: 'fade',
timeout: {
error: NOTIFICATION_TIMEOUT_NONE,
success: NOTIFICATION_TIMEOUT,
warning: NOTIFICATION_TIMEOUT,
},
showCloseButton: true,
closeHtml: `<button aria-label="Close" class="toast-close-button">x</button>`,
})
skrzepij
