Positioning

The Notification enables you to align it to the browser viewport and to position it to a specific container.

Aligning to the Viewport

You can align the Notification to the browser viewport by using the position property. By default, the Notification is horizontally aligned to the right and vertically aligned to the top of the viewport.

Example
View Source
Edit In Stackblitz  
Change Theme:

Aligning to Containers

You can align the Notification to a specific container by using the appendTo property. In order for the Notification to properly work, set the CSS position: relative style to the container.

Example
View Source
Edit In Stackblitz  
Change Theme: