e8-modal-dropdown-action
Updated on Sep 18, 2025 9 minutes to readA component representing a clickable action item inside an e8-modal-dropdown menu.
Overview
e8-modal-dropdown-action is used to define individual actions within the content area of an e8-modal-dropdown. It can act either as a link (if href is provided) or a button, supporting custom event handling via on-click.
🔽 Show more
Properties
| Property | Description | Type | Default |
|---|---|---|---|
| action-class | Custom CSS classes applied to the link or button element of the action. | E8CssClassType | — |
| default | Marks the action as the default one within the parent dropdown. | boolean | false |
| disabled | Disables the action, making it non-interactive. | boolean | false |
| href | The URL to navigate to when the action is clicked. If set, the action renders as a link. | string | — |
| target | Specifies where to open the linked URL (e.g., _blank). Only relevant when href is provided. | string | '_self' |
Slots
| Slot | Description |
|---|---|
| default | Content displayed inside the action item (e.g., text, icons). |
Events
| Event | Description |
|---|---|
| on-click | Function name or expression to execute when the action item is clicked. |