EditorToolTagHelper
Example
Razor
<tool>
<tool-items></tool-items>
<tool-template></tool-template>
</tool>
ChildTags
| Tag Name | Details |
|---|---|
| tool-items | EditorToolItemsTagHelper |
| tool-template | TemplateTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | When specifying a tool as an object, a tool name is required. Please note that "undo" and "redo" are reserved tool names. |
| columns | Double | Specifies the colors columns for "foreColor" and "backColor" tools when list of colors are defined. |
| exec | String | The JavaScript function which will be executed when the end-user clicks the tool button. |
| icon | String | Specifies the icon that will be rendered for the tools. |
| palette | String | Specifies custom color palette for "foreColor" and "backColor" tools. For using the default options: "basic" or "websafe" palette attribute. |
| palette-options | String[] | Specifies custom color palette for "foreColor" and "backColor" tools. For using the default options: "basic" or "websafe" palette attribute. |
| template | String | Represents a collection of templates defined for the component. |
| template-handler | String | The kendo template that will be used for rendering the given tool. This option expects the name of a JavaScript function that will be called to return the template. |
| template-id | String | The kendo template that will be used for rendering the given tool. This option expects the ID of the script element that contains the template. |
| template-view | IHtmlContent | The kendo template that will be used for rendering the given tool. This option expects the instance containing the created HTML. |
| tooltip | String | The text which will be displayed when the end-user hovers the tool button with the mouse. |