Full example
Now you are aware of the most important APIs of Interactive Ink Cloud let’s dive into a more complete example.
Answering a question example
You can see below an example of iinkJS
custom integration. In this webpage, the user has to write the answer to a question.
The recognized content is checked against the expected answer. If it is incorrect, the recognized text is displayed in red.
The text turns green when the answer is correct. After a correct answer, the user is invited to click on a Next question button to display a new question,
which will also clear the editor, the recognized text and hide the button. If the user correctly answers all the questions, a win message will be displayed
instead of the question.