icon

Sets or gets the icon of the badge.

Parameters

icon String

See badge.options.icon for valid options.

Example

Set badge icon after initialization.

<span id="badge">Badge</span>

<script>
    var badge = $('#badge').kendoBadge({ icon: 'add' }).data('kendoBadge');

    window.setTimeOut(function() {
        badge.color('cog');
    }, 1000);
</script>
In this article
Not finding the help you need? Improve this article