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: 'plus' }).data('kendoBadge');

    window.setTimeout(function() {
        badge.icon('gear');
    }, 1000);
</script>
In this article