Created
December 2, 2019 03:56
-
-
Save parzibyte/04f1e4064bd5b0e9346a6648b237a67e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let sr = new webkitSpeechRecognition(); | |
sr.onresult = resultado => { | |
console.log(resultado); | |
} | |
sr.onend = () => { | |
// Simplemente iniciamos de nuevo ;) | |
sr.start(); | |
}; | |
// Y lo iniciamos por primera vez ;) | |
sr.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment