MCPcopy
hub / github.com/mailvelope/mailvelope / onDisplayPopup

Method onDisplayPopup

src/controller/verify.controller.js:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 async onDisplayPopup() {
33 this.verifyPopup = await mvelo.windows.openPopup(`components/decrypt-message/decryptMessage.html?id=${this.id}&embedded=false`, {width: 742, height: 550});
34 this.verifyPopup.addRemoveListener(() => {
35 this.ports.vFrame.emit('remove-dialog');
36 this.verifyPopup = null;
37 });
38 }
39
40 async onArmoredMessage({data, sender: [sender]}) {
41 this.armored = data;

Callers

nothing calls this directly

Calls 3

openPopupMethod · 0.80
addRemoveListenerMethod · 0.80
emitMethod · 0.45

Tested by

no test coverage detected