@@ -89,6 +65,7 @@ interface Tab {
shown?: boolean
icon?: Component
subpages?: string[]
+ onHover?: () => void
}
const props = withDefaults(
@@ -109,124 +86,194 @@ const emit = defineEmits<{
tabClick: [index: number, tab: Tab]
}>()
+// DOM refs
const scrollContainer = ref