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

Method constructor

src/content-scripts/encryptFrame.js:21–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20export default class EncryptFrame {
21 constructor() {
22 this.id = getUUID();
23 this.editElement = null;
24 this.eFrame = null;
25 this.port = null;
26 this.emailTextElement = null;
27 // type of external editor
28 this.editorType = PLAIN_TEXT; //prefs.general.editor_type;
29 this.keyCounter = 0;
30 this.currentProvider = currentProvider;
31 this.handleKeypress = this.handleKeypress.bind(this);
32 this.setFrameDim = this.setFrameDim.bind(this);
33 }
34
35 attachTo(element) {
36 this.init(element);

Callers

nothing calls this directly

Calls 1

getUUIDFunction · 0.90

Tested by

no test coverage detected