<kendo:badge>

A JSP wrapper for Kendo UI Badge.

Configuration Attributes

align java.lang.String

Defines the alignment of the badge

Example

<kendo:badge align="align">
</kendo:badge>

cutoutBorder boolean

Specifies whether or not to render additional "cutout" border around the badge.

Example

<kendo:badge cutoutBorder="cutoutBorder">
</kendo:badge>

fill java.lang.String

Defines how theme colors are applied to a badge

Example

<kendo:badge fill="fill">
</kendo:badge>

fillMode java.lang.String

Specifies how themeColor is applied to a badge. Valid options are solid (default) and outline.

Example

<kendo:badge fillMode="fillMode">
</kendo:badge>

icon java.lang.String

Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the badge by a span.k-icon or span.k-svg-icon element.See web font icons help article for more details on Kendo UI icons.

Example

<kendo:badge icon="icon">
</kendo:badge>

max float

If text is a number, it will cap that number.

Example

<kendo:badge max="max">
</kendo:badge>

position java.lang.String

Defines the position of the badge

Example

<kendo:badge position="position">
</kendo:badge>

rounded java.lang.String

Specifies the size of the badge. Valid options are small, medium, large and full.

Example

<kendo:badge rounded="rounded">
</kendo:badge>

shape java.lang.String

Defines the shape of the badge

Example

<kendo:badge shape="shape">
</kendo:badge>

size java.lang.String

Defines the size of the badge

Example

<kendo:badge size="size">
</kendo:badge>

template java.lang.String

The template which renders the content of the badge.

Example

<kendo:badge template="template">
</kendo:badge>

text java.lang.Object

The text of the badge. Valid input includes string, number or object with toString method. Default is empty string.

Example

<kendo:badge text="text">
</kendo:badge>

themeColor java.lang.String

Defines the color of the badge

Example

<kendo:badge themeColor="themeColor">
</kendo:badge>

visible boolean

If set to false the badge will not be displayed.

Example

<kendo:badge visible="visible">
</kendo:badge>
In this article
Not finding the help you need?