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

Method constructor

src/controller/gmail.controller.js:16–27  ·  view source on GitHub ↗
(port)

Source from the content-addressed store, hash-verified

14
15export default class GmailController extends SubController {
16 constructor(port) {
17 super(port);
18 this.state = {
19 userInfo: null,
20 threadId: null
21 };
22 this.peerType = 'gmailController';
23 this.authorizationRequest = null;
24 // register event handlers
25 this.on('open-editor', this.onOpenEditor);
26 this.on('secure-button', this.onSecureBtn);
27 }
28
29 activateComponent() {
30 mvelo.tabs.activate({id: this.tabId});

Callers

nothing calls this directly

Calls 1

onMethod · 0.45

Tested by

no test coverage detected