PromptBoxEventBuilder

Methods

Blur(System.String)

Fires each time the PromptBox loses focus.

For more information see Blur event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the blur event.

Focus(System.String)

Fires each time the PromptBox receives focus.

For more information see Focus event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the focus event.

Input(System.String)

Fires each time the user types in the input field.

For more information see Input event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the input event.

InputBlur(System.String)

Fires each time the internal input element loses focus.

For more information see InputBlur event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the inputBlur event.

InputFocus(System.String)

Fires each time the internal input element receives focus.

For more information see InputFocus event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the inputFocus event.

ValueChange(System.String)

Fires when the value changes through user input (not programmatic changes).

For more information see ValueChange event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the valueChange event.

MultilineStateChange(System.String)

Fires when the PromptBox transitions between single-line and multi-line states in auto mode.

For more information see MultilineStateChange event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the multilineStateChange event.

FileRemove(System.String)

Fires each time the user removes a file attachment.

For more information see FileRemove event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the fileRemove event.

FileSelect(System.String)

Fires each time the user selects files using the File Select button.

For more information see FileSelect event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the fileSelect event.

PromptAction(System.String)

Fires when the action button is clicked (send or stop). Check e.actionType to determine the action.

For more information see PromptAction event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the promptAction event.

SpeechToTextClick(System.String)

Fires each time the user clicks the Speech to Text button.

For more information see SpeechToTextClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextClick event.

SpeechToTextEnd(System.String)

Fires when the speech recognition service disconnects.

For more information see SpeechToTextEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextEnd event.

SpeechToTextError(System.String)

Fires when a speech recognition error occurs.

For more information see SpeechToTextError event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextError event.

SpeechToTextResult(System.String)

Fires when the speech recognition service returns a result.

For more information see SpeechToTextResult event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextResult event.

SpeechToTextStart(System.String)

Fires when the speech recognition service begins listening.

For more information see SpeechToTextStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextStart event.