Text-To-Speech Hookup - Tooltip API

Text-to-Speech Hookup Overview

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.

 

 

On This Page
Still need help?

Join the infusion-users mailing list and ask your questions there.


Adding a Text-to-Speech Hookup Grade

To mixin the Text-to-Speech Hookup into your Grade:

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

Methods

Method

Description

Parameters

speak

Calls the queueSpeech method from the Text-to-Speech engine in the component environment

 

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>