value

Sets/gets the value of the badge.

Parameters

newValue String|Number

The new value of the badge.

Example

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

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