MCPcopy
hub / github.com/mailvelope/mailvelope / createEditor

Method createEditor

src/client-API/web-components.js:260–267  ·  view source on GitHub ↗

@private

(id, options)

Source from the content-addressed store, hash-verified

258
259 /** @private */
260 async createEditor(id, options) {
261 try {
262 this.editor = await window.mailvelope.createEditorContainer(`#${id}`, null, options);
263 this.onReady(this.editor);
264 } catch (e) {
265 this.onError(e);
266 }
267 }
268
269 /** @private */
270 onReady(editor) {

Callers 1

connectedCallbackMethod · 0.95

Calls 3

onReadyMethod · 0.95
onErrorMethod · 0.95
createEditorContainerMethod · 0.80

Tested by

no test coverage detected