style Object

Sets additional CSS styles to the Avatar container element.

Example

Open In Dojo
<div id="avatar"></div>
<script>
    $("#avatar").kendoAvatar({
        text: "MG",
        style: {
            "background-color": "red"
        }
    });
</script>
In this article