feat: establish color slider geometry and picker composition
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import ColorSliderFoundationLab from "./ColorSliderFoundationLab.vue";
|
||||
const colorSliderFoundation =
|
||||
typeof window !== "undefined" &&
|
||||
new URLSearchParams(window.location.search).has("color-slider-foundation");
|
||||
import ColorInputFoundationLab from "./ColorInputFoundationLab.vue";
|
||||
const colorInputFoundation =
|
||||
typeof window !== "undefined" &&
|
||||
@@ -43,7 +47,8 @@ function save() {
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
<ColorInputFoundationLab v-if="colorInputFoundation" />
|
||||
<ColorSliderFoundationLab v-if="colorSliderFoundation" />
|
||||
<ColorInputFoundationLab v-else-if="colorInputFoundation" />
|
||||
<ColorFoundationLab v-else-if="colorFoundation" />
|
||||
<RangeCalendarFoundationLab v-else-if="rangeFoundation" />
|
||||
<SelectLifecycle v-else-if="selectLifecycle" />
|
||||
|
||||
Reference in New Issue
Block a user