python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Angular sharing data among other components not working properly
I am trying to use BehaviorSubject to share data between my components
Below is the code to my service
import {Injectable, Optional, SkipSelf} from '@angular/core';
import { BehaviorSubject, Observabl...
Nesan Mano
Votes: 0
Answers: 0
how to call another method component
I would like render workload method learningHour after the setStatusofuser() method in confiramation.ts how can I do that can someone help please.
this is my confirmation.ts component
import { Compone...
M D V Ajay kumar 360
Votes: 0
Answers: 1
Broadcasted values from Angular Library Project not getting received
I have an angular 12 library project from which I am trying to broadcast some values using behaviorsubject and shared service.
Here is my broadcast service code:
@Injectable({ providedIn: 'root' })
ex...

Sonali
Votes: 0
Answers: 0
Angular 12 RxJs BehaviourSubject and HTTP Get request issue
I’m new to RxJs and having issues getting a response back from a HTTP request when using a BehaviourSubject in my app. What is the correct approach to doing this?
By using chrome dev tools Ive noticed...
Philip B
Votes: 0
Answers: 2