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

Method didCreateView

src/Viewer.js:128–136  ·  view source on GitHub ↗

* Triggered when view has been created. * @protected * @param {View} view

(view)

Source from the content-addressed store, hash-verified

126 * @param {View} view
127 */
128 didCreateView (view) {
129 super.didCreateView(view)
130 if (this._queuedContent !== null) {
131 // perform queued view
132 this.view(this._queuedContent)
133 // clear queued view
134 this._queuedContent = null
135 }
136 }
137
138 /**
139 * Triggered when the content has been changed inside this Viewer.

Callers

nothing calls this directly

Calls 1

viewMethod · 0.95

Tested by

no test coverage detected