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

Method constructor

src/controller/encrypt.controller.js:14–22  ·  view source on GitHub ↗
(port)

Source from the content-addressed store, hash-verified

12
13export default class EncryptController extends SubController {
14 constructor(port) {
15 super(port);
16 this.state = {
17 editorContentModified: false
18 };
19 this.peerType = 'encryptController';
20 // register event handlers
21 this.on('eframe-display-editor', this.onEncryptFrameDisplayEditor);
22 }
23
24 /**
25 * Opens a new editor control and gets the recipients to encrypt plaintext

Callers

nothing calls this directly

Calls 1

onMethod · 0.45

Tested by

no test coverage detected