MDN self-hosted library · e01.org

SpeechRecognition: start event

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
const recognition = new (
  window.SpeechRecognition || window.webkitSpeechRecognition
)();

recognition.addEventListener("start", () => {
  console.log("Speech recognition service has started");
});
js
recognition.onstart = () => {
  console.log("Speech recognition service has started");
};