mount
Description
Optional. Attaches Menu to a custom PortalUsage
mount?: (callback: () => void) => void;
Example
<template>
<Portal v-slot="{ mount }">
<Menu :options="options" :parent="menu2" :mount="mount"></Menu>
</Portal>
</template>
Related article: Adjusting Menu position to fit the page
Related sample: Auto fit