SmartPasteButton
Example
Razor
<kendo-smartpastebutton>
<form-fields></form-fields>
<service />
</kendo-smartpastebutton>
ChildTags
| Tag Name | Details |
|---|---|
| form-fields | SmartPasteButtonFormFieldsTagHelper |
| service | SmartPasteButtonServiceTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | Sets the name of the component. |
| cancel-icon | String | Specifies the icon displayed when the button is in listening/processing state. |
| enable | Boolean | Specifies whether the SmartPasteButton widget will be enabled or disabled. |
| fill-mode | FillMode | Sets a value controlling how the color is applied. |
| icon | String | Specifies the icon displayed on the button in its default state. |
| on-error | String | The name of the JavaScript function that will handle the error event. Fired when an error occurs during SmartPasteButton processing. |
| on-request-end | String | The name of the JavaScript function that will handle the requestEnd event. Fired when the SmartPasteButton completes processing a paste operation. |
| on-request-start | String | The name of the JavaScript function that will handle the requestStart event. Fired when the SmartPasteButton begins processing a paste operation. |
| rounded | Rounded | Sets a value controlling the border radius. |
| script-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
| size | ComponentSize | Sets the size of the component. |
| text | String | Specifies the text displayed on the button. If not set, the button will display only an icon. |
| theme-color | ThemeColor | Sets the color of the component according to the applied theme. |
| is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
| deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
| as-module | Boolean | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |