items.attributes Object
Specifies the HTML attributes of a ToolBar button.
HTML attributes which are JavaScript keywords (e.g. class) must be quoted.
Example - adding custom class to a button
<div id="toolbar"></div>
<script>
$("#toolbar").kendoToolBar({
items: [
{ type: "button", text: "My Button", attributes: { "class": "red" } }
]
});
</script>
<style>
.red { background-color: red; }
</style>