Cloud Development Kit

how to use the event-myscript-text-web-result event

Hi there,

Could I please see an example of how you would capture the result of a successful recognition using the event described at

I just want the sample here to call my javascript function when handwriting is successfully recognized as a letter, and be able to capture what that letter is.

Thanks in advance!

1 Comment

Dear Lee,

here is a code sample showing how you can get the text candidates:

 function () {
 document.querySelector('#candidates').innerHTML = document.querySelector('myscript-text-web').firstcandidate;

Let us know if you have further questions.

Best regards,


Login or Signup to post a comment