items.attributesObject

Adds custom attributes to the LI element of the menu button.

Example

<button id="splitButton">Command</button>
<script>
    $("#splitButton").kendoSplitButton({
        items: [
            { text: "Item 1", attributes: { "data-value": "value1", "data-info": "custom" } },
            { text: "Item 2", attributes: { "data-value": "value2", "class": "special-item" } }
        ]
    });
</script>
In this article
items.attributes
Not finding the help you need?
Contact Support