src/app/shared/alerts/alert.ts

Relationships

Used by

Depends on

No results matching.

Index

Properties

Properties

closed
closed: boolean
Type : boolean
err
err: any
Type : any
Optional
message
message: string
Type : string
type
type: string
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 ""