File

src/models/notification.ts

Index

Properties

Constructor

constructor(data: any)
Parameters :
Name Type Optional Description
data any

Properties

Public class
class: string
Type : string
Public content
content: string
Type : string
Public link
link: string
Type : string
export class Notification {
  public content: string;
  public class: string;
  public link: string;

  public constructor(data: any = {}) {
    this.content = data.content || '';
    this.class = data.class || '';
    this.link = data.link || '';
  }
}

results matching ""

    No results matching ""