Skip to main content

NotificationAction

The ui5-notification-action represents an abstract action, used in the ui5-li-notification and the ui5-li-notification-group items.

Properties​

text​

DescriptionDefines the text of the ui5-notification-action.
Typestring
Default""

disabled​

DescriptionDefines if the action is disabled.
Note: a disabled action can't be pressed or focused, and it is not in the tab chain.
Typeboolean
Defaultfalse

design​

DescriptionDefines the action design.
Type"Default" | "Positive" | "Negative" | "Transparent" | "Emphasized" | "Attention"
Default"Transparent"

icon​

DescriptionDefines the icon source URI.
Note: SAP-icons font provides numerous built-in icons. To find all the available icons, see the Icon Explorer.
Typestring
Default""

Slots​

No slots available for this component.

Events​

click​

DescriptionFired, when the action is pressed.
TypeCustomEvent<NotificationActionClickEventDetail>

Methods​

No methods available for this component.

CSS Parts​

No CSS parts available for this component.