MCPcopy Create free account
hub / github.com/angular/components / create

Method create

src/cdk/observers/observe-content.ts:60–62  ·  view source on GitHub ↗
(callback: MutationCallback)

Source from the content-addressed store, hash-verified

58@Service()
59export class MutationObserverFactory {
60 create(callback: MutationCallback): MutationObserver | null {
61 return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
62 }
63}
64
65/** An injectable service that allows watching elements for changes to their content. */

Callers 1

_observeElementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected