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

Method appendSubviewElement

src/View/Pipe.js:107–113  ·  view source on GitHub ↗

* Injects subview's root element into own DOM structure. * @protected * @param {View} view * @return {PipeView} Fluent interface

(view)

Source from the content-addressed store, hash-verified

105 * @return {PipeView} Fluent interface
106 */
107 appendSubviewElement (view) {
108 if (view instanceof BrickView) {
109 this.update()
110 return this
111 }
112 return super.appendSubviewElement(view)
113 }
114
115 /**
116 * Removes previously added subview element from own DOM structure.

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected