DashboardToolbarItem Type documentation¶
TypeScript declaration¶
Union type for all possible items in the dashboard toolbar.import type { DashboardToolbarItem } from '@siemens/dashboards-ng';
Types Documentation¶
Interface representing an action item in the dashboard toolbar. Action that called when the item is triggered. action : Label that is shown to the user.import type { DashboardToolbarItemAction } from '@siemens/dashboards-ng';
(grid: SiGridComponent) => void ¶
Interface representing a link item in the dashboard toolbar.import type { DashboardToolbarItemLink } from '@siemens/dashboards-ng';
Interface representing a router link item in the dashboard toolbar. Navigation extras that are passed to the RouterLink. extras ? : Label that is shown to the user. Link for the angular router. Accepts the same values as RouterLink. routerLink : import type { DashboardToolbarItemRouterLink } from '@siemens/dashboards-ng';
NavigationExtras ¶ string | any[] ¶
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';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.