DashboardToolbarItem Type documentation¶
TypeScript declaration¶
import type { DashboardToolbarItem } from '@siemens/dashboards-ng';Union type for all possible items in the dashboard toolbar.
Types Documentation¶
import type { DashboardToolbarItemAction } from '@siemens/dashboards-ng';Interface representing an action item in the dashboard toolbar.
-
Action that called when the item is triggered.
action:
(grid: SiGridComponent) => void¶ -
Label that is shown to the user.
import type { DashboardToolbarItemLink } from '@siemens/dashboards-ng';Interface representing a link item in the dashboard toolbar.
import type { DashboardToolbarItemRouterLink } from '@siemens/dashboards-ng';Interface representing a router link item in the dashboard toolbar.
-
Navigation extras that are passed to the RouterLink.
-
Label that is shown to the user.
-
Link for the angular router. Accepts the same values as RouterLink.
routerLink:
string | any[]¶
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.
Except where otherwise noted, content on this site is licensed under MIT License.