MCPcopy
hub / github.com/mailvelope/mailvelope / onResize

Function onResize

src/components/encrypted-form/encryptedForm.js:120–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 }
119
120 onResize() {
121 // do not resize less than 100px, e.g. the minimal / original size of the iframe
122 if (document.body.scrollHeight > 100) {
123 this.port.emit('encrypted-form-resize', {height: document.body.scrollHeight});
124 }
125 }
126
127 formSandbox() {
128 return (

Callers

nothing calls this directly

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected