setOptions

Updates the configuration options of the SmartPasteButton.

Parameters

options Object

The new configuration options to apply.

Example

<form id="form">
    <input name="firstName" />
    <button id="smartPasteButton"></button>
</form>

<script>
var smartPasteButton = $("#smartPasteButton").kendoSmartPasteButton({
    service: {
        url: "https://api.example.com/smart-paste"
    }
}).data("kendoSmartPasteButton");

smartPasteButton.setOptions({
    text: "Updated Text",
    size: "large"
});
</script>
In this article
setOptions
Not finding the help you need?
Contact Support