# GanttToolbarTagHelper

## Example

```
<toolbar>
</toolbar>
```

## Attributes

| Attribute        | Type         | Description                                                                                                                                                                                                                                                                                       |
| ---------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| name             | String       | The name of the toolbar command. Either a built-in ("append" and "pdf") or custom. The name is reflected in one of the CSS classes, which is applied to the button - k-gantt-name. This class can be used to obtain reference to the button after Gantt initialization and attach click handlers. |
| template         | String       | The template which renders the command. By default renders a button.                                                                                                                                                                                                                              |
| template-handler | String       | The template which renders the command. By default renders a button. This option expects the name of a JavaScript function that will be called to return the template.                                                                                                                            |
| template-id      | String       | The template which renders the command. By default renders a button. This option expects the ID of the script element that contains the template.                                                                                                                                                 |
| template-view    | IHtmlContent | The template which renders the command. By default renders a button. This option expects the  instance containing the created HTML.                                                                                                                                                               |
| text             | String       | The text displayed by the command button. If not set the name\` option would be used as the button text instead.                                                                                                                                                                                  |
