When this page is viewed in a Chrome browser, the examples are functional.
(The functions are emulated using an experimental Chrome tag.)
Example 1: Using <reco> to overwrite text to <input> field
Example 2: Using CSS to position <reco> mic icon inside <input> field
Example 3: Using <reco> to overwrite text and then automatically submit form
Example 4: Using <reco> to append continuous text to <input> field
(Note the javascript uses += as the assignment.)
Example 5: Using <reco> to append continuous text to <textarea>
Example 6: Using <reco> to append continuous text to <span>
Example 7: Using <reco> to append continuous text to <div>
Example 8: Using <reco> to select from a menu
This may not be an important use case, but it's included to show the flexibility of short
snippets of javascript.
To make it more robust, the grammar should only include words in the menu.