@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Renders active toasts at the specified screen position.

    Place one instance in your root component template. Multiple containers with different position values are supported.

    <!-- app.component.html -->
    <router-outlet />
    <ui-toast-container />
    Index

    Constructors

    Properties

    position: InputSignal<ToastPosition> = ...

    Screen position for this container. Defaults to "top-right".

    visibleToasts: Signal<ToastInstance[]> = ...

    Toasts filtered by this container's position.

    Methods

    • Dismiss a toast.

      Parameters

      Returns void

    • Execute the toast action and then dismiss.

      Parameters

      Returns void

    • TrackBy function for toast list.

      Parameters

      Returns string