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

Method getView

src/Viewable.js:28–35  ·  view source on GitHub ↗

* Lazily returns a view. * @return {View}

()

Source from the content-addressed store, hash-verified

26 * @return {View}
27 */
28 getView () {
29 if (this._view === null) {
30 this._view = new (this._viewPrototype)()
31 this._view.setModel(this)
32 this.didCreateView(this._view)
33 }
34 return this._view
35 }
36
37 /**
38 * Updates view if any.

Callers 15

updateViewMethod · 0.95
spliceBricksMethod · 0.80
didCreateViewMethod · 0.80
didCreateViewMethod · 0.80
runMethod · 0.80
didCreateViewMethod · 0.80
setValueMethod · 0.80
didCreateViewMethod · 0.80
addFieldMethod · 0.80
fieldNeedsLayoutMethod · 0.80
updateMethod · 0.80

Calls 2

didCreateViewMethod · 0.95
setModelMethod · 0.80

Tested by

no test coverage detected