MCPcopy Create free account
hub / github.com/cryptii/cryptii / getElement

Method getElement

src/View.js:70–77  ·  view source on GitHub ↗

* Returns root element. * @return {?HTMLElement}

()

Source from the content-addressed store, hash-verified

68 * @return {?HTMLElement}
69 */
70 getElement () {
71 if (this._$root === null) {
72 this.willRender()
73 this._$root = this.render()
74 this.didRender()
75 }
76 return this._$root
77 }
78
79 /**
80 * Rerenders the view.

Callers 15

appendSubviewElementMethod · 0.95
removeSubviewElementMethod · 0.80
updateMethod · 0.80
_createBrickPartMethod · 0.80
brickDragWillStartMethod · 0.80
setVisibleMethod · 0.80
visibilityDidChangeMethod · 0.80
appendSubviewElementMethod · 0.80
didFocusMethod · 0.80
didBlurMethod · 0.80
setFirstMethod · 0.80

Calls 3

willRenderMethod · 0.95
renderMethod · 0.95
didRenderMethod · 0.95

Tested by

no test coverage detected