Allows specifying the target component or element through ref, Vue component instance, or HTMLElement. If a component is specified, clicking on the label will call the activate method of the corresponding component (if it exists); if an element is specified, clicking on the label will call the click method of the corresponding element.
Type
Description
string
Looks up the HTML element or the root element of the corresponding component instance by matching the key name in $refs within the current floating layer component context.
Vue
If a component instance is passed in, the root element of the component is returned directly.
HTMLElement
If it is already an HTML element, it is used directly.
Slots
Name
Description
default
Default slot. No default content. Used to fill inline content, not allowed to put block-level content.