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

Function componentDidMount

src/components/editor/editor.js:83–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 componentDidMount() {
84 this.port.emit('editor-mount');
85 }
86
87 registerEventListeners() {
88 this.port.on('set-text', ({text}) => this.setState({defaultPlainText: text, plainText: text}));

Callers

nothing calls this directly

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected