Closed ayanbhaduryfc closed 4 years ago
Here is a sandbox demo - https://codesandbox.io/s/angular-1dhf0
@ayanbhaduryfc While updating data inside the event listener, you have to use NgZone. Here's a working sample.
NgZone
Also, please check the official samples.
Here is a sandbox demo - https://codesandbox.io/s/angular-1dhf0