dataSource.actions.attributesObject
Defines custom attributes to be applied to the action button element.
Example
html
<div id="tabstrip"></div>
<script>
$("#tabstrip").kendoTabStrip({
dataTextField: "text",
dataContentField: "content",
dataSource: [
{
text: "Tab with actions",
content: "Tab content",
actions: [
{
icon: "pencil",
attributes: { "title": "Edit", "data-id": "edit-action" },
action: function(e) {
console.log("Edit tab", e);
}
}
]
}
]
});
</script>
In this article