Kendo UI messages TagHelper SpeechToTextButtonMessagesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("messages", ParentTag = "kendo-speechtotextbutton", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class SpeechToTextButtonMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseSpeechToTextButtonMessagesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-speechtotextbutton name="speechtotextbutton">
<messages not-initialized="Speech recognition engine is not initialized" />
</kendo-speechtotextbutton>
Constructors
The constructor for creating a SpeechToTextButtonMessagesSettingsTagHelper instance.
public SpeechToTextButtonMessagesSettingsTagHelper()
Properties
The message for when the speech recognition engine is not initialized.
public string NotInitialized { get; set; }
The aria-label for the button when it is not active (not listening).
public string Start { get; set; }
The aria-label for the button when it is active (listening).
public string Stop { get; set; }
The message shown when speech recognition is not supported by the browser.
public string Unsupported { get; set; }
Methods
Add itself to its SpeechToTextButtonMessagesSettingsTagHelper parent
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
Decorates the SpeechToTextButtonMessagesSettingsTagHelper's DOM representation.
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
The TagHelper Context.
outputTagHelperOutputThe TagHelper Output.
Returns:Overrides:
Serializes the applied SpeechToTextButtonMessagesSettingsTagHelper settings.