SmartPasteButton

Example

Razor
<kendo-smartpastebutton>
    <cancel-icon />
    <form-fields></form-fields>
    <icon />
    <service />
</kendo-smartpastebutton>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
cancel-iconStringSpecifies the icon displayed when the button is in listening/processing state.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
enableBooleanSpecifies whether the SmartPasteButton widget will be enabled or disabled.
end-iconStringDefines a Kendo UI font or SVG icon that is rendered after the SmartPasteButton text.
iconStringSpecifies the icon displayed on the button in its default state.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
on-clickStringThe name of the JavaScript function that will handle the click event. Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.
on-errorStringThe name of the JavaScript function that will handle the error event. Fired when an error occurs during SmartPasteButton processing.
on-kendo-keydownStringThe name of the JavaScript function that will handle the kendoKeydown event. Triggered when the user presses a keyboard key while the Button is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
on-request-endStringThe name of the JavaScript function that will handle the requestEnd event. Fired when the SmartPasteButton completes processing a paste operation.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
fill-modeFillModeSets a value controlling how the color is applied.
on-request-startStringThe name of the JavaScript function that will handle the requestStart event. Fired when the SmartPasteButton begins processing a paste operation.
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
sizeButtonSizeSets the size of the component.
theme-colorThemeColorSets the color of the component according to the applied theme.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
roundedRoundedSets a value controlling the border radius.
textStringSpecifies the text displayed on the button. If not set, the button will display only an icon.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support