import {ObserversModule} from '@angular/cdk/observers';
CdkObserveContent
Directive that triggers a callback whenever the content of its associated element has changed.
Selector: [cdkObserveContent]
Exported as: cdkObserveContentName | Description |
---|---|
@Input()
| Debounce interval for emitting the changes. |
@Input('cdkObserveContentDisabled')
| Whether observing content is disabled. This option can be used to disconnect the underlying MutationObserver until it is needed. |
@Output('cdkObserveContent')
| Event emitted for each change in the element's content. |