shape

Sets / gets the badge shape. See badge.options.shape for valid options.

Parameters

shape String

The new shape of the badge.

Example

Set badge shape after initialization.

<span id="badge">Badge</span>
<script>
    var badge =  $('#badge').kendoBadge({
        shape: 'rounded',
    }).data('kendoBadge');

    window.setTiemout(function() {
        badge.shape('pill')
    }, 1000);
</script>
In this article
Not finding the help you need? Improve this article