src/app/recipients/recipientListModel.ts
Properties |
Accessors |
groupTitles |
groupTitles:
|
Type : string[]
|
Defined in src/app/recipients/recipientListModel.ts:3
|
isLoading |
isLoading:
|
Default value : false
|
Defined in src/app/recipients/recipientListModel.ts:2
|
recipientsObj |
recipientsObj:
|
Type : Object
|
Default value : null
|
Defined in src/app/recipients/recipientListModel.ts:4
|
count |
getcount()
|
Defined in src/app/recipients/recipientListModel.ts:5
|
export class RecipientListModel {
isLoading = false;
groupTitles: string[];
recipientsObj: Object = null;
get count(): number {
if (!this.recipientsObj) return 0;
return Object.keys(this.recipientsObj).length;
}
}