MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / inlineDialog

Method inlineDialog

src/content-scripts/attachmentFrame.js:80–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 inlineDialog() {
81 this.dDialog = document.createElement('iframe');
82 this.dDialog.id = `dDialog-${this.id}`;
83 this.dDialog.src = chrome.runtime.getURL(`components/decrypt-message/decryptMessage.html?id=${this.id}`);
84 this.dDialog.frameBorder = 0;
85 this.dDialog.scrolling = 'no';
86 this.dDialog.classList.add('m-frame-dialog');
87 this.eFrame.append(this.dDialog);
88 this.setFrameDim();
89 this.dDialog.classList.add('m-show');
90 }
91
92 popupDialog() {
93 this.port.emit('dframe-display-popup');

Callers 1

onShowMethod · 0.95

Calls 2

setFrameDimMethod · 0.95
addMethod · 0.80

Tested by

no test coverage detected