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

PrefixOptions.icon

configuration

Defines the name for an existing icon in a Kendo UI theme or SVG content

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.

prefixOptions.icon

String|Object
<textarea id="description"></textarea>
<script>
    $("#description").kendoTextArea({
        prefixOptions: {
            icon: "pencil"
        }
    })
</script>

The name of the SVG icon.

<textarea id="description"></textarea>
<script>
    $("#description").kendoTextArea({
        prefixOptions: {
            icon: {
                name: "pencil"
            }
        }
    })
</script>

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

<textarea id="description"></textarea>
<script>
    $("#description").kendoTextArea({
        prefixOptions: {
            icon: {
                name: "pencil",
                variant: "outline"
            }
        }
    })
</script>