Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- displaySpinner() {
- this.countDisplay++;
- this.subject.next(true);
- }
- hideSpinner() {
- this.countDisplay--;
- if (this.countDisplay == 0) {
- this.subject.next(false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement