<kendo:buttonGroup-item-badge>

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

<kendo:buttonGroup-item>
    <kendo:buttonGroup-item-badge></kendo:buttonGroup-item-badge>
</kendo:buttonGroup-item>

Configuration Attributes

appearance java.lang.String

Specifies the shape of the badge - rectangle or pill.

Example

<kendo:buttonGroup-item-badge appearance="appearance">
</kendo:buttonGroup-item-badge>

look java.lang.String

Specifies the look of the badge - flat or outline.

Example

<kendo:buttonGroup-item-badge look="look">
</kendo:buttonGroup-item-badge>

template java.lang.String

The template which renders the content of the badge

Example

<kendo:buttonGroup-item-badge template="template">
</kendo:buttonGroup-item-badge>

type java.lang.String

Specifies the type of the badge - primary, secondary, info, success, warning and error.

Example

<kendo:buttonGroup-item-badge type="type">
</kendo:buttonGroup-item-badge>

value java.lang.Object

The value of the badge

Example

<kendo:buttonGroup-item-badge value="value">
</kendo:buttonGroup-item-badge>

visible boolean

If set to false the badge will not be displayed.

Example

<kendo:buttonGroup-item-badge visible="visible">
</kendo:buttonGroup-item-badge>

Event Attributes

template String

The template which renders the content of the badge

Example

<kendo:buttonGroup-item-badge template="handle_template">
</kendo:buttonGroup-item-badge>
<script>
    function handle_template(e) {
        // Code to handle the template event.
    }
</script>

Event Tags

kendo:buttonGroup-item-badge-template

The template which renders the content of the badge

Example

<kendo:buttonGroup-item-badge>
    <kendo:buttonGroup-item-badge-template>
        <script>
            function(e) {
                // Code to handle the template event.
            }
        </script>
    </kendo:buttonGroup-item-badge-template>
</kendo:buttonGroup-item-badge>
In this article
Not finding the help you need?