MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / toggle

Function toggle

assets/js/textToVoice.js:25–30  ·  view source on GitHub ↗
(startOver = true)

Source from the content-addressed store, hash-verified

23}
24
25function toggle(startOver = true) {
26 speechSynthesis.cancel();
27 if (startOver) {
28 speechSynthesis.speak(message);
29 }
30}
31
32function setOption() {
33 message[this.name] = this.value;

Callers 3

setVoiceFunction · 0.70
setOptionFunction · 0.70
textToVoice.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected