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

Method constructor

src/content-scripts/extractFrame.js:14–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13export default class ExtractFrame {
14 constructor() {
15 this.id = getUUID();
16 // range element with armored message
17 this.pgpRange = null;
18 // HTMLElement that contains complete ASCII Armored Message
19 this.pgpElement = null;
20 this.domIntersectionObserver = null;
21 this.eFrame = null;
22 this.shadowRootElem = null;
23 this.port = null;
24 this.currentProvider = currentProvider;
25 this.clickHandler = this.clickHandler.bind(this);
26 this.setFrameDim = this.setFrameDim.bind(this);
27 }
28
29 attachTo(pgpRange) {
30 this.init(pgpRange);

Callers

nothing calls this directly

Calls 1

getUUIDFunction · 0.90

Tested by

no test coverage detected