GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for SpeechSynthesisErrorEvent.

Developer library 6

SpeechSynthesisErrorEvent

Web Speech API The **`SpeechSynthesisErrorEvent`** interface of the [Web Speech API](/docs/Web/API/Web_Speech_API) contains information about any errors that occur while processing SpeechSynthesisUtterance objects in the speech service. ## Constructor - SpeechSynthesisErrorEvent() - : Creates a new `SpeechSynthesisErrorEvent`. ## Instance properties _`SpeechSynthesisErrorEvent` extends the SpeechSynthesisEve

SpeechSynthesisErrorEvent: SpeechSynthesisErrorEvent() constructor

Web Speech API The **`SpeechSynthesisErrorEvent()`** constructor creates a new SpeechSynthesisErrorEvent object. > [!NOTE] > A web developer doesn't typically need to call this constructor, as the browser creates these objects itself when firing events. ## Syntax ```js-nolint new SpeechSynthesisErrorEvent(type, options) ``` ### Parameters - `type` - : A string with the name of the event. It is case-sensit

SpeechSynthesisErrorEvent: error property

Web Speech API The **`error`** property of the SpeechSynthesisErrorEvent interface returns an error code indicating what has gone wrong with a speech synthesis attempt. ## Value A string containing the error reason. Possible values are: - `canceled` - : A SpeechSynthesis.cancel method call caused the SpeechSynthesisUtterance to be removed from the queue before it had begun being spoken. - `interrupted`

SpeechSynthesisEvent: SpeechSynthesisEvent() constructor

It defaults to the empty string (`""`). ### Return value A new SpeechSynthesisEvent object. ## Specifications ## Browser compatibility ## See also - SpeechSynthesisErrorEvent

Web Speech API

ech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides. - SpeechSynthesisErrorEvent - : Contains information about any errors that occur while processing SpeechSynthesisUtterance objects in the speech service. - SpeechSynthesisEvent - : Contains information about the current state of SpeechSynthesisUtterance obje

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API

SpeechSynthesisUtterance: error event

r property](/docs/Web/API/Document_Object_Model/Events#using_onevent_properties) of the interface: ```js-nolint onerror = (event) => { } ``` ## Event type A SpeechSynthesisErrorEvent. Inherits from SpeechSynthesisEvent and Event. SpeechSynthesisErrorEvent ## Examples You can use the `error` event in an [`addEventListener`](/docs/Web/API/EventTarget/addEventListener) method: ```js utterThis.addEventListener("er

JSON results · Services directory