Overlays

Overlays are handled by the overlay.Container component which has to be embedded into your root component.

Every page or component that creates overlays has to embed the overlay.OverlayContainerRef structure. Your wiring function also needs to set the reference to your overlay.Container that you have placed in your root component.

Modals

A simple requester modal is already contained in the overlay package. Use it with:


		
Open simple modal

Toasts

A simple text and icon containing toast is already contained in the overlay package. Use it with:


		
Open simple toast Open warning toast