themeColor

Sets or gets the theme color of the badge.

Parameters

themeColor String

See badge.options.themeColor for valid options.

Example

Set badge theme color after initialization.

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

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

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