toolbar.items.attributesObject
Specifies the HTML attributes of a ToolBar button.
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/service/v2/core/filemanager/";
$("#fileManager").kendoFileManager({
toolbar: {
items: [
{
name: "createFolder",
attributes: {
"data-role": "button",
"title": "Create a new folder"
}
}
]
},
dataSource: {
transport: {
read: {
method: "POST",
url: baseUrl + "Read"
}
}
}
});
</script>
In this article