toolbar.items.primaryBoolean(default: false)

Specifies whether the button is primary. Primary buttons receive different styling.

Example

<div id="imageEditor"></div>
<script>
$("#imageEditor").kendoImageEditor({
    toolbar: {
        items: [
            { text: "Primary Button", primary: true, click: function() { console.log("Primary clicked"); } },
            { text: "Secondary Button", primary: false, click: function() { console.log("Secondary clicked"); } }
        ]
    }
});
</script>
In this article
toolbar.items.primary
Not finding the help you need?
Contact Support