Trails Packages
    Preparing search index...

    Interface NotificationService

    The NotificationService allows any part of the application to emit notifications to the user.

    You can inject an instance of this service by referencing the interface name notifier.NotificationService.

    interface NotificationService {
        closeAll(): void;
        error(options: SimpleNotificationOptions): void;
        info(options: SimpleNotificationOptions): void;
        notify(options: NotificationOptions): void;
        success(options: SimpleNotificationOptions): void;
        warning(options: SimpleNotificationOptions): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Closes all active notifications.

      Returns void