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

FileAttachment.icon

configuration

The icon name for the file select button.

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.

fileAttachment.icon

String|Object

Default: "attachment"

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    fileAttachment: {
        icon: "upload"
    },
    authorId: "user"
});
</script>

The name of the SVG icon.

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    fileAttachment: {
        icon: {
            name: "upload"
        }
    },
    authorId: "user"
});
</script>

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

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    fileAttachment: {
        icon: {
            name: "upload",
            variant: "outline"
        }
    },
    authorId: "user"
});
</script>