Skip to content

ActivationUtterance

Overview

An utterance that should generally be used for announcing a change after an "activation" interaction such as clicking a button or a checkbox. The delay for waiting for utterance stability is chosen such that the alert won't become stable and be spoken faster than the press and hold delay for continuous clicking with the "enter" key. See Utterance.js for a description of utterance "stability". The result is that pressing and holding "enter" on a button will result in only a single utterance.

@author Jesse Greenberg

Class ActivationUtterance

import { ActivationUtterance } from 'scenerystack/utterance-queue';

Constructor

new ActivationUtterance( providedOptions? : ActivationUtteranceOptions )

Instance Methods

Type ActivationUtteranceOptions

import type { ActivationUtteranceOptions } from 'scenerystack/utterance-queue';

UtteranceOptions

Source Code

See the source for ActivationUtterance.ts in the utterance-queue repository.