type String (default: 'text')

Could be one of the three predefined types for the widget: icon, image, or text (default).

Example

<div id="avatar"></div>
<script>
    $("#avatar").kendoAvatar({
        type: "image",
        image: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
        alt: "John Doe"
    });
</script>
In this article