File

src/app/recipients/recipientListModel.ts

Index

Properties
Accessors

Properties

groupTitles
groupTitles: string[]
Type : string[]
isLoading
isLoading:
Default value : false
recipientsObj
recipientsObj: Object
Type : Object
Default value : null

Accessors

count
getcount()
export class RecipientListModel {
  isLoading = false;
  groupTitles: string[];
  recipientsObj: Object = null;
  get count(): number {
    if (!this.recipientsObj) return 0;
    return Object.keys(this.recipientsObj).length;
  }
}

results matching ""

    No results matching ""