feat: migrate ScrollShadow and Tabs with docs and keyboard support
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import ScrollTabsLab from "./ScrollTabsLab.vue";
|
||||
const scrollTabsLab =
|
||||
typeof window !== "undefined" &&
|
||||
new URLSearchParams(window.location.search).has("scroll-tabs");
|
||||
import OverlayAnimationLab from "./OverlayAnimationLab.vue";
|
||||
const animationLab =
|
||||
typeof window !== "undefined" &&
|
||||
@@ -23,7 +27,8 @@ function save() {
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
<OverlayAnimationLab v-if="animationLab" />
|
||||
<ScrollTabsLab v-if="scrollTabsLab" />
|
||||
<OverlayAnimationLab v-else-if="animationLab" />
|
||||
<OverlayComponentsLab v-else-if="componentsLab" />
|
||||
<OverlayLab v-else-if="overlayLab" />
|
||||
<div v-else class="lab" :data-theme="dark ? 'dark' : 'light'">
|
||||
|
||||
Reference in New Issue
Block a user