useForwardExpose
Forward component is exposed value, props and
$el
.
When constructing a component with multiple root nodes, template refs won't return the DOM element via $el. Therefore, we must manually forward the $el
in the template ref for this component. Alternatively, you can specify a particular element as the exposed element.
Additionally, this composable utility supplements the missing exposed props
from template refs.