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

Method performView

src/Viewer/Text.js:38–40  ·  view source on GitHub ↗

* Performs view of given content. * @protected * @param {string} content * @return {void|Promise} Resolves when completed.

(content)

Source from the content-addressed store, hash-verified

36 * @return {void|Promise} Resolves when completed.
37 */
38 async performView (content) {
39 this.getView().setText(content.getString())
40 }
41
42 /**
43 * Triggered when the text has been changed inside the view.

Callers

nothing calls this directly

Calls 3

setTextMethod · 0.80
getViewMethod · 0.80
getStringMethod · 0.80

Tested by

no test coverage detected