src/app/shared/alerts/alert.ts

Implements

AlertInterface

Relationships

Used by

No results matching.

Depends on

Index

Properties

Constructor

constructor(type: string, message: string, err?: any)
Parameters :
Name Type Optional
type string No
message string No
err any Yes

Properties

Public closed
Type : boolean
Public err
Type : any
Public message
Type : string
Public type
Type : string
interface AlertInterface {
  type: string
  message: string
  err?: any
  closed: boolean
}

export class Alert implements AlertInterface {
  public type: string
  public message: string
  public err: any
  public closed: boolean

  constructor(type: string, message: string, err?: any) {
    this.type = type
    this.message = message
    this.err = err
    this.closed = false
  }
}

results matching ""

    No results matching ""