TimelineWidgetActionButton Type documentation¶
TypeScript declaration¶
import type { TimelineWidgetActionButton } from '@siemens/element-ng/dashboard';Interface representing an action item in the timeline widget.
-
Action that called when the item action is triggered.
action:
(source: TimelineWidgetActionButton) => void¶ -
The class name to define the button style
-
The web font icon class name (e.g. element-settings-outline).
icon?:
stringInherited from TimelineWidgetActionBase¶ -
Defines if only the icon is shown in the default navigation bar.
iconOnly?:
booleanInherited from TimelineWidgetActionBase¶ -
Label that is shown to the user.
label:
TranslatableStringInherited from TimelineWidgetActionBase¶
Types Documentation¶
import type { TimelineWidgetActionBase } from '@siemens/element-ng/dashboard';Base for action items in the timeline widget.
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.