You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{Dropdown,Menu,Tooltip,options,vTooltip}from'floating-vue'exportdefaultdefineNuxtPlugin((nuxtApp)=>{nuxtApp.vueApp.directive('tooltip',vTooltip)nuxtApp.vueApp.component('Dropdown',Dropdown)nuxtApp.vueApp.component('Tooltip',Tooltip)nuxtApp.vueApp.component('Menu',Menu)options.themes.tooltip.delay.show=300options.themes.tooltip.delay.hide=100options.boundary='#main'// #__nuxt or main or #__boundaryId or .popper-boundary})
This is purely a design requirement say I have a main container that has margins on all sides say 200px I want to consider space around the entire page/main container to make sure it don't go over the empty place cuz it don't look gud.
There was one answer, but there will not be element in dom wen this plugin runs
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is purely a design requirement say I have a main container that has margins on all sides say
200px
I want to consider space around the entire page/main container to make sure it don't go over the empty place cuz it don't look gud.There was one answer, but there will not be element in dom wen this plugin runs
tried this but is not working
Beta Was this translation helpful? Give feedback.
All reactions