MCPcopy Create free account
hub / github.com/json-editor/json-editor / onChange

Method onChange

src/editor.js:51–59  ·  view source on GitHub ↗
(bubble, fromTemplate, eventData)

Source from the content-addressed store, hash-verified

49 }
50
51 onChange (bubble, fromTemplate, eventData) {
52 this.notify()
53
54 if (!fromTemplate) {
55 if (this.watch_listener) this.watch_listener()
56 }
57
58 if (bubble) this.change(eventData)
59 }
60
61 register () {
62 this.jsoneditor.registerEditor(this)

Callers 3

onChildEditorChangeMethod · 0.95
registerMethod · 0.95
changeMethod · 0.45

Calls 2

notifyMethod · 0.95
changeMethod · 0.95

Tested by

no test coverage detected