How to use 'document on change' in JavaScript

Every line of 'document on change' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
44public emitChange(): void {
45 this._change.send(null);
46}
56onChange(handler) {
57 this.on(REPOSITORY_CHANGE, handler);
58}

Related snippets