Skip to content

ToastContainer

Props

Prop nameDescriptionTypeDefault
targetTeleport target for the ToastContainer.

If target is provided, the container will teleport there. Otherwise, if an ancestor provides a CdxTeleportTarget (e.g. via provide( 'CdxTeleportTarget', '#foo-bar' )), that target is used. If neither is set, the container is teleported to the end of <body>.
TeleportTargetundefined