constructor(@Attribute('name') public name: string) { }
@Input() name: string
@Injectable()
export class Visoad {
private count = new BehaviorSubject(0);
private status = this.status.pipe(map(Boolean));
getStatus() {
return this.status;
}
startLoading() {
this.count.next(this.count.value + 1);
}
completeLoading() {
this.count.next(this.count.value - 1);
}
}
message => this.message = message
return of(null)
.pipe(mergeMap(handleRoute))
.pipe(materialize()) // call materialize and dematerialize to ensure delay even if an error is thrown (https://github.com/Reactive-Extensions/RxJS/issues/648)
.pipe(delay(500))
.pipe(dematerialize());
this.route.queryParams.subscribe(queryParams => { ... })
По той же причине не могу воспринимать шторм, ну вырвиглазно же! Плюс дикое обилие ненужных мне менюшек.