# DashboardToolbarItemAction Type documentation

## TypeScript declaration

### [DashboardToolbarItemAction](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/si-dashboard-toolbar.model.ts#L11-L17>)

**Kind:** interface

```
import type { DashboardToolbarItemAction } from '@siemens/dashboards-ng';
```

Interface representing an action item in the dashboard toolbar.

```
interface DashboardToolbarItemAction
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/si-dashboard-toolbar.model.ts#L16-L16>) | `(grid: SiGridComponent) => void` | Action that called when the item is triggered. |
| [label](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/si-dashboard-toolbar.model.ts#L14-L14>) | `TranslatableString` | Label that is shown to the user. |
| [type](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/si-dashboard-toolbar.model.ts#L12-L12>) | `"action"` |  |

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
