UNPKG

ipsos-components

Version:

Material Design components for Angular

15 lines (10 loc) 438 B
The `observers` package provides convenience directives built on top of native web platform observers, such as MutationObserver. ### cdkObserveContent A directive for observing when the content of the host element changes. An event is emitted when a mutation to the content is observed. ```html <div class="projected-content-wrapper" (cdkObserveContent)="projectContentChanged()"> <ng-content></ng-content> </div> ```