Questions tagged [angular-event-emitter]

Use in directives and components to emit custom events synchronously or asynchronously, and register handlers for those events by subscribing to an instance.

171 questions
-1
votes
1 answer

Event is fired without any call to .next()

the problem i have is, every time the component VisOpComponent is initialized, the subscribed eventemitter gets fired without any call to .next(). i also added some console.log as shown below to show you that, despite…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
-1
votes
2 answers

How to trigger a function of child component from parent in angular?

I have a function component as follows: export class ChildComp { whoAmI() { return 'I am a child!!'; } } My parent component: import { ChildComp } form './child.component'; export class ParentComp { constructor(private child:…
learner
  • 357
  • 1
  • 6
  • 16
-1
votes
2 answers

What is the difference between EventEmitter and EventEmitter()

What is the difference, if any, between: @Output() exampleChange: EventEmitter = new EventEmitter(); and @Output() exampleChange = new EventEmitter();
ebakunin
  • 3,621
  • 7
  • 30
  • 49
-1
votes
1 answer

How to Update a DOM without refreshing full page on Component property changes

My Page structure is:
// multiple address for loop I have single JSON having personal information and multiple addresses with…
Raj N
  • 249
  • 1
  • 18
-2
votes
1 answer

How to monitor in which dom user click in angular 7

I want to monitor the click of user in angular application, rather dont want to mannual configure for each click event, I want some thing at higher level that tells me each time where user clicked in application.
-4
votes
1 answer

Ionic 3 event emitter performance

I'm working in a large Ionic app with about 25k lines and a lot of components, the app has performance issues and memory leaks. I was thinking that the problem could be in the intensive use of event emitter class, but I need some data related to it…
1 2 3
11
12