File

packages/ui/src/lib/notifications/with-notifications.interface.ts

Description

This interface can be used on a component that uses notifications.

Index

Properties

Properties

notifications
notifications: Notification[]
Type : Notification[]
Optional

Stores notification history for later access. E.g. stores errors that should be hidden later.

silent
silent: boolean
Type : boolean
Optional

If true, no notifications will be emitted

import { Notification } from './notification';

/** This interface can be used on a component that uses notifications. */
export interface WithNotifications {
  /** Stores notification history for later access. E.g. stores errors that should be hidden later. */
  notifications?: Notification[];
  /** If true, no notifications will be emitted */
  silent?: boolean;
}

result-matching ""

    No results matching ""