src/busy-button/busy.service.ts
| start |
start()
|
|
Returns:
void
|
| stop |
stop()
|
|
Returns:
void
|
| global |
global: |
Default value: false
|
import { Injectable } from '@angular/core';
@Injectable()
export class BusyService {
global: boolean = false
start(): void {
this.global = true
}
stop(): void {
this.global = false
}
}