Renders active toasts at the specified screen position.
Place one instance in your root component template. Multiple containers with different position values are supported.
position
<!-- app.component.html --><router-outlet /><ui-toast-container /> Copy
<!-- app.component.html --><router-outlet /><ui-toast-container />
Readonly
Screen position for this container. Defaults to "top-right".
"top-right"
Protected
Toasts filtered by this container's position.
Dismiss a toast.
Execute the toast action and then dismiss.
TrackBy function for toast list.
Renders active toasts at the specified screen position.
Place one instance in your root component template. Multiple containers with different
positionvalues are supported.Example