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>