File

projects/core/src/global-message/models/global-message.model.ts

Index

Properties

Properties

text
text: Translatable
Type : Translatable
timeout
timeout: number
Type : number
Optional
type
type: GlobalMessageType
Type : GlobalMessageType
import { Translatable } from '../../i18n/translatable';

export enum GlobalMessageType {
  MSG_TYPE_CONFIRMATION = '[GlobalMessage] Confirmation',
  MSG_TYPE_ERROR = '[GlobalMessage] Error',
  MSG_TYPE_INFO = '[GlobalMessage] Information',
  MSG_TYPE_WARNING = '[GlobalMessage] Warning',
}

export interface GlobalMessage {
  text: Translatable;
  type: GlobalMessageType;
  timeout?: number;
}

result-matching ""

    No results matching ""