NotificationItemPrimaryAction Type documentation¶
| Union type for primary actions in a notification item. Deprecated: Use the CSS-based list item component instead. |
|---|
Types Documentation¶
| Interface for an action circle button in a notification item. @param: The type of the action, always 'action-circle-button'. @param: Optional custom CSS class for styling. @param: The action to perform when the button is clicked. Deprecated: Use NotificationItemActionIconButton instead. This will be removed in a future release. | ||||||
|---|---|---|---|---|---|---|
|
| Interface for an action icon button in a notification item. @param: The type of the action, always 'action-icon-button'. @param: Optional custom CSS class for styling. @param: The action to perform when the button is clicked. Deprecated: Use the CSS-based list item component instead. | ||||||
|---|---|---|---|---|---|---|
|
| Interface for a standard link with an icon in a notification item. @param: The type of the link, always 'link'. @param: The URL to navigate to. @param: Optional target attribute for the link. Deprecated: Use the CSS-based list item component instead. | ||||||
|---|---|---|---|---|---|---|
|
| Interface for a router link with an icon in a notification item. @param: The type of the link, always 'router-link'. @param: The router link to navigate to. @param: Optional navigation extras for the router. Deprecated: Use the CSS-based list item component instead. | ||||||
|---|---|---|---|---|---|---|
|
| Interface for a menu in a notification item. @param: The type of the action, always 'menu'. @param: The menu items to display in the menu. Deprecated: Use the CSS-based list item component instead. | |||
|---|---|---|---|
|
| Interface for an action button in a notification item. @param: The type of the action, always 'action-button'. @param: The label to display on the button. @param: The action to perform when the button is clicked. Deprecated: Use the CSS-based list item component instead. | ||||
|---|---|---|---|---|
|
| Base interface for notification item actions. @param: The ARIA label for accessibility. @param: The icon to display for the action. Deprecated: Use the CSS-based list item component instead. | |||
|---|---|---|---|
|
| 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. |
|---|
Property |
|---|
Property |
|---|
|
|
| Represents a menu item that navigates using the Angular Router. Requires a configured Angular Router. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
Property Badge that is rendered after the label. |
|---|
Property Color of the badge (not iconBadge). |
|---|
Property Whether the menu item id disabled. |
|---|
icon? Property Optional icon that will be rendered before the label. |
|---|
Property Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. |
|---|
id? Property ID that will be attached to the DOM node. |
|---|
Property Label that is shown to the user. |
|---|
| Implement and provide this to an SiMenuFactoryComponent to receive trigger events. | |||||||
|---|---|---|---|---|---|---|---|
| |||||||
|
| Used in events emitted from SiLinkActionService | |||
|---|---|---|---|
|
|
| |||||||||||||||||||||
| |||||||||||||||||||||
|
| |||||||
| |||||||
|
Except where otherwise noted, content on this site is licensed under MIT License.