<nve-dialog>
Properties
Enables updating internal string values for internationalization.
Provides the element that the popover should position relative to. Anchor can accept a idref string within the same render root or a HTMLElement DOM reference.
Determines if a dialog should have a modal backdrop that visually overlays the UI.
true
false
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.
Controls the visual scale of an element to match its importance and available space.
sm Compact size for dense layouts or secondary elements with less visual prominence.
md Standard size that works well in most contexts and provides balanced visibility.
lg Larger size for emphasizing important elements or improving touch targets in spacious layouts.
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.
Determines the position of an element along both inline and block axis. MDN
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.
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.
Use the popover API instead. Determines if popover visibility behavior should be automatically controlled by the trigger.
boolean
Events
Slots
default content slot
CSS Properties
CSS Parts
The icon button element
The inner template reference for the close button of the dialog.
<nve-dialog-header>
Slots
default slot for the dialog header
<nve-dialog-footer>
Slots
default slot for the dialog footer