MCPcopy
hub / github.com/mailvelope/mailvelope / onValidated

Function onValidated

src/components/encrypted-form/encryptedForm.js:91–95  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

89 }
90
91 onValidated(data) {
92 // when the data is validated, tell controller to encrypt and submit
93 this.setState({validate: false, validated: true});
94 this.port.emit('encrypted-form-submit', {data});
95 }
96
97 onFormSubmitCancel() {
98 this.setState({validated: false, validate: false});

Callers

nothing calls this directly

Calls 2

setStateMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected