JSFiddle - React, Tailwind, and code Playground

by kazu69

HTML

<input type="text" speech x-webkit-speech onspeechchange="writeSpeech(this.value)" />

JavaScript

if( document.createElement('input').webkitSpeech==undefined )
{
  alert('not support !')
}

function writeSpeech(speechInput)
  {
    alert('You said: '+ speechInput);
  }