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 | The kendo template that will be used for rendering the given tool. |
template-handler | String | The kendo template that will be used for rendering the given tool. |
template-id | String | The kendo template that will be used for rendering the given tool. |
template-view | IHtmlContent | The kendo template that will be used for rendering the given tool. |
tooltip | String | The text which will be displayed when the end-user hovers the tool button with the mouse. |