This documentation describes the PopoverWithTarget Vue component for native UI views, for Xml templates see popover with target attribute.
PopoverWithTarget
A popover that shows or hides itself based on a bound target element reference. No click wiring is needed in the consumer — simply set the target to an HTMLElement to show the popover anchored to that element, or null to hide it.
Import
import { PopoverWithTarget } from '@neos/design-system'
v-model
Name
Type
Default
Description
target
HTMLElement \| null
null
The anchor element. Set to an HTMLElement to show the popover, null to hide it
Emits
Event
Payload
Description
update:target
HTMLElement \| null
Emitted when the popover closes (sets target to null)