core/split-view/split-view-details-actions.component.ts
Configuration for a single action button in the details panel. Used to display action buttons with icons, labels, and optional analytics tracking.
Properties |
| action |
action:
|
Type : function
|
|
Function to execute when button is clicked |
| class |
class:
|
Type : string
|
| Optional |
|
Optional CSS classes for the button (e.g., 'btn btn-primary'). Default: empty string |
| dataCy |
dataCy:
|
Type : string
|
| Optional |
|
Optional data-cy attribute for E2E testing |
| disabled |
disabled:
|
Type : boolean
|
| Optional |
|
Whether the button is disabled. Default: false |
| icon |
icon:
|
Type : string
|
|
Icon name to display (c8y icon identifier) |
| iconClass |
iconClass:
|
Type : string
|
| Optional |
|
Optional CSS classes for the icon (e.g., 'icon-spin'). Default: empty string |
| id |
id:
|
Type : string
|
|
Unique identifier for the action (used for tracking in loops) |
| label |
label:
|
Type : string
|
|
Display label for the button (will be translated) |
| productExperience |
productExperience:
|
Type : literal type
|
| Optional |
|
Optional product experience tracking configuration |
| title |
title:
|
Type : string
|
| Optional |
|
Optional tooltip text (will be translated) |
| visible |
visible:
|
Type : boolean
|
| Optional |
|
Whether the button is visible. Default: true |