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({
        text: 'Badge'
    });
    $('#notext-badge').kendoBadge();
</script>
In this article
Not finding the help you need? Improve this article