Edit this page

badge String

The badge of the button.

Example - configuration based on data attributes

<div id="foo" data-role="view">
  <a data-role="button" data-badge="10">Foo</a>
</div>

<script>
var app = new kendo.mobile.Application();
</script>

Example - configuration based on jQuery plugin syntax

<div id="foo" data-role="view" data-init="onInit">
  <a id="button">Foo</a>
</div>

<script>
var app = new kendo.mobile.Application();

function onInit() {
  $("#button").kendoMobileButton({ badge: 10 });
}
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy