Kendo UI for Vue Badge Container
The BadgeContainer
component provides an alternative approach for defining a badge in the Kendo UI for Vue Native suite. Below you can find a basic BadgeContainer definition that uses a Slot template to define the content of the badge.
<BadgeContainer
:content="'content'"
:align="{
vertical: 'bottom',
horizontal: 'end',
}"
:theme-color="'dark'"
>
<span class="k-icon k-i-files" />
<template v-slot:content> 11 </template>
</BadgeContainer>
The following example demonstrates the definition of the same badges using the both Badge and BadgeContainer approaches side by side.