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

Method viewTextDidChange

src/Viewer/Text.js:48–52  ·  view source on GitHub ↗

* Triggered when the text has been changed inside the view. * @protected * @param {TextViewerView} view * @param {string} text

(view, text)

Source from the content-addressed store, hash-verified

46 * @param {string} text
47 */
48 viewTextDidChange (view, text) {
49 this.dare(() => {
50 this.contentDidChange(Chain.wrap(text))
51 })
52 }
53}

Callers 1

Calls 3

dareMethod · 0.80
contentDidChangeMethod · 0.80
wrapMethod · 0.80

Tested by

no test coverage detected