<kendo:badge>

A JSP wrapper for Kendo UI Badge.

Configuration Attributes

appearance java.lang.String

Deprecated! Use badge.options.shape instead.For compatibility badge.options.appearance maps to badge.options.shape.

Example

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

badgeStyle java.lang.String

Defines the style of the badge

Example

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

color java.lang.String

Defines the color of the badge

Example

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

cutoutBorder boolean

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

Example

<kendo:badge cutoutBorder="cutoutBorder">
</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>

look java.lang.String

Deprecated! Use badge.options.badgeStyle instead.For compatibility badge.options.look maps to badge.options.badgeStyle.

Example

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

max float

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

Example

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

overlay boolean

Deprecated! Use position instead.There is no built in mapping between overlay and position: overlay: false can be achieved by setting position: "inline" or overlay: true can be achieved by setting position: "top end", or not setting it at all.. For compatibility overlay is kept, even though it has no effect on the badge.

Example

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

placement java.lang.String

Defines the badge placement

Example

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

position java.lang.String

Defines the position of the badge

Example

<kendo:badge position="position">
</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>

type java.lang.String

Deprecated! Use badge.options.color instead.For compatibility badge.options.type maps to badge.options.color.

Example

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

value java.lang.Object

Deprecated! Use badge.options.text instead.For compatibility badge.options.value maps to badge.options.text.

Example

<kendo:badge value="value">
</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?