src/app/modules/shared/services/activity-dashboard/activity-dashboard.service.ts
Properties |
|
Accessors |
constructor()
|
Public _isActivityAdded |
Default value : false
|
isActivityAdded | ||||
getisActivityAdded()
|
||||
setisActivityAdded(isAdded)
|
||||
Parameters :
Returns :
void
|
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class ActivityDashboardService {
public _isActivityAdded = false;
constructor() { }
set isActivityAdded(isAdded) {
this._isActivityAdded = isAdded;
}
get isActivityAdded() {
return this._isActivityAdded;
}
}