Files
angular__angular/tools/gulp
Kristiyan Kostadinov 244aece0fe 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
2017-05-02 16:39:14 -07:00
..
2017-04-17 15:18:16 -07:00