You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(observe-content): add debounce option and other improvements (#2404)
* feat(observe-content): add debounce option and other improvements
* Adds a reusable utility for debouncing a function.
* Adds the ability to debounce the changes from the `cdkObserveContent` directive.
* Makes the `cdkObserveContent` directive pass back the `MutationRecord` to the `EventEmitter`.
* Fires the callback once per mutation event, instead of once per `MutationRecord`.
Relates to #2372.
* Remove flaky tests.
* Stub out the MutationObserver.
* refactor: use debounce logic from rxjs
* chore: fix lint error
* fix: refactor the MutationObserver token to not break AoT
0 commit comments