SiSidePanelActionComponent documentation¶
import { SiSidePanelActionComponent } from '@siemens/element-ng/side-panel'; Creates an action for the side-panel. This action will remain visible if the side-panel is collapsed.
Example:
<si-side-panel-content>
<si-side-panel-actions>
<button
type="button"
si-side-panel-action
icon="element-alarm-background-filled"
iconColor="status-danger"
stackedIcon="element-alarm-tick"
stackedIconColor="text-primary"
(click)="action()"
>
Action
</button>
</si-side-panel-actions>
</si-side-panel-content>
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| disabled ¶ | boolean | false | When disabled, renders a dot separator instead of the icon and label. |
| icon required ¶ | string | Icon name for the main icon. | |
| iconColor ¶ | string | undefined | CSS color class for the main icon (e.g. | |
| stackedIcon ¶ | string | undefined | Optional stacked icon name displayed on top of the main icon. | |
| stackedIconColor ¶ | string | undefined | CSS color class for the stacked icon (e.g. |
Except where otherwise noted, content on this site is licensed under MIT License.