text String|Number (default: '')

The text of the badge. Valid input includes string, number or object with toString method. Default is empty string.

Example

<span id="text-badge"></span>
<span id="notext-badge"></span>
<script>
    $('#text-badge').kendoBadge({
        themeColor: 'primary',
        text: 'Badge'
    });
    $('#notext-badge').kendoBadge();
</script>
In this article