<nve-toast>
Properties
Determines the alignment of the popover relative to the provided anchor element.
start Aligns the popover to the beginning edge of the anchor for left or top alignment.
end Aligns the popover to the ending edge of the anchor for right or bottom alignment.
center Centers the popover along the anchor's edge for balanced positioning.
Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID.
Use the popover API instead. Determines if popover visibility behavior should be automatically controlled by the trigger.
boolean
Indicates whether the user can dismiss or close the element.
true The element displays a close control and the user can dismiss it.
false The user cannot close the element and must dismiss it programmatically.
Sets the automatic dismissal time in milliseconds before the element emits a close event. Allow ~200-250ms per word for comfortable reading.
number
0 Warning or error messages requiring immediate acknowledgment.
3000 Brief success or confirmation messages.
7000 Standard informational messages.
10000 Messages with actions or requiring user decision.
Updates internal string values for internationalization.
Sets the side position of the popover relative to the provided anchor element.
center Centers the popover directly over the anchor element.
top Positions the popover above the anchor element.
bottom Positions the popover below the anchor element.
left Positions the popover to the left side of the anchor element.
right Positions the popover to the right side of the anchor element.
Sets the visual prominence of the toast.
muted
Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
accent Highlights important actions or draws attention to primary interactive elements.
warning Indicates cautionary actions that require careful consideration before proceeding.
success Represents positive outcomes, confirmations, or constructive actions.
danger Signals destructive or irreversible actions that need extra attention and confirmation.
Use the popover API instead. The trigger defines what element triggers an open interaction event. A trigger can accept a idref string within the same render root or a HTMLElement DOM reference.
Events
Slots
The message communicated by the toast.
custom status icon slot
CSS Properties
CSS Parts
The close icon button element
The prefix icon slot