text

Sets / gets the text of the badge.

Parameters

text String|Number

The new text of the badge.

Example

<button>Button <span id="badge"></span></button>
<script>
    var badge =  $('#badge').kendoBadge({
        text: 7,
    }).data('kendoBadge');

    badge.text('badge');
</script>
In this article
Not finding the help you need? Improve this article