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

Method removeSubviewElement

src/View/Pipe.js:121–127  ·  view source on GitHub ↗

* Removes previously added subview element from own DOM structure. * @protected * @param {View} view * @return {PipeView} Fluent interface

(view)

Source from the content-addressed store, hash-verified

119 * @return {PipeView} Fluent interface
120 */
121 removeSubviewElement (view) {
122 super.removeSubviewElement(view)
123 if (view instanceof BrickView) {
124 this.update()
125 }
126 return this
127 }
128
129 /**
130 * Integrates brick view elements inside pipe structure.

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected