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