rx-angular / rx-angular

Reactive Extensions for Angular.
https://www.rx-angular.io/
MIT License
1.89k stars 193 forks source link

Add (timeupdate) event to unpatch directive #1467

Open ProjectBay opened 1 year ago

ProjectBay commented 1 year ago

When listening to the timeupdate event on a HTMLVideoElement, the callback is always in NgZone. and triggers changeDetection.

Further video events to include: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video?retiredLocale=de#events

BioPhoton commented 1 year ago

Hi @ProjectBay !

you can always add an event name manually e.g. <input [unpatch]="['change']">

If you like feel free to add the event to the list of eventlisteners .

Does that help?