New to Kendo UI for jQuery? Start a free 30-day trial

Icon

configuration

The name of the Kendo UI font icon to be displayed in the button when it is not active (not listening).

Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

icon

String|Object

Default: "microphone"

<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        icon: "headset"
    });
</script>

icon.name

String

The name of the SVG icon.

<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        icon: {
            name: "headset"
        }
    });
</script>

The SVG icon variant. Supported values are outline, solid, and duotone. The variant applies to SVG rendering and is ignored for font icons.

<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        icon: {
            name: "headset",
            variant: "outline"
        }
    });
</script>
In this article
iconicon.nameicon.variant
Not finding the help you need?
Contact Support