Text-to-Speech Hookup – Tooltip

Overview

Component Name: gpii.firstDiscovery.tts.tooltipHookup

File: ttsHookup.js

Text-to-Speech Hookup is a grade containing the configuration necessary to bind an invoker to the Text-to-Speech engine within the component's environment.

Using the Text-to-Speech Hookup – Tooltip grade

To use the Text-to-Speech Hookup – Tooltip grade, supply it as a gradeNames option in your component definition:

fluid.defaults("my.component", {
    gradeNames: ["gpii.firstDiscovery.tts.tooltipHookup"]
});

Methods

Method Description Parameters
speak Calls the queueSpeech method from the Text-to-Speech engine in the component environment none

Dependencies

<script type="text/javascript" src="src/lib/infusion/infusion-custom.js"></script>
<script type="text/javascript" src="src/js/ttsHookup.js"></script>
<script type="text/javascript" src="src/js/tooltip.js"></script>
<script type="text/javascript" src="src/js/msgLookup.js"></script>