badge Boolean|String|Object

If set to true a default overlay badge will be displayed. If set to a string, an ovelay with content set to the specified string will be displayed. Can be set to a JavaScript object which represents the configuration of the Badge widget.

Example - boolean badge

<button id="button" type="button">Foo</button>
<script>
    $("#button").kendoButton({
        badge: true
    });
</script>

Example - string badge

<button id="button" type="button">Foo</button>
<script>
    $("#button").kendoButton({
        badge: '99+'
    });
</script>
In this article
Not finding the help you need? Improve this article