src/app/shared/alerts/alert.ts
Properties |
constructor(type: string, message: string, err?: any)
|
|
Defined in src/app/shared/alerts/alert.ts:12
|
| Public closed |
Type : boolean
|
|
Defined in src/app/shared/alerts/alert.ts:12
|
| Public err |
Type : any
|
|
Defined in src/app/shared/alerts/alert.ts:11
|
| Public message |
Type : string
|
|
Defined in src/app/shared/alerts/alert.ts:10
|
| Public type |
Type : string
|
|
Defined in src/app/shared/alerts/alert.ts:9
|
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
}
}