badge.templateString|Function

The template which renders the content of the badge.

Example

<button id="button">Button</button>
<script>
  $("#button").kendoButton({
    badge: {
      template: (data) => `${data.value}+`,
      text: 42
    }
  });
</script>
In this article
badge.template
Not finding the help you need?
Contact Support