MCPcopy Index your code
hub / github.com/json-editor/json-editor / postBuild

Method postBuild

src/editor.js:263–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 }
262
263 postBuild () {
264 this.setupWatchListeners()
265 this.addLinks()
266 this.register()
267 this.setValue(this.getDefault(), true)
268 this.updateHeaderText()
269 this.onWatchedFieldChange()
270
271 if (this.options.titleHidden) {
272 this.theme.visuallyHidden(this.label)
273 this.theme.visuallyHidden(this.header)
274 }
275
276 if (this.enforceConstEnabled && this.schema.const) {
277 this.disable()
278 }
279 }
280
281 setupWatchListeners () {
282 /* Watched fields */

Callers 1

loadMethod · 0.45

Calls 9

setupWatchListenersMethod · 0.95
addLinksMethod · 0.95
registerMethod · 0.95
setValueMethod · 0.95
getDefaultMethod · 0.95
updateHeaderTextMethod · 0.95
onWatchedFieldChangeMethod · 0.95
disableMethod · 0.95
visuallyHiddenMethod · 0.45

Tested by

no test coverage detected