mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-19 14:30:07 +00:00
## Summary - Code cleanup - Copy, padding, color, alignment of components - Subgraph Edit mode changes - Partial fix for the Node Info location (need to do context menu still) - Editing node title ### Still to-do - Bi-directionality in values ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7137-WIP-Cleanup-Properties-Panel-2be6d73d3650813e9430f6bcb09dfb4d) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com>
18 lines
409 B
Vue
18 lines
409 B
Vue
<template>
|
|
<div role="tablist" class="flex w-full items-center gap-2 pb-1">
|
|
<slot />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts" generic="T extends string = string">
|
|
import { provide } from 'vue'
|
|
|
|
const modelValue = defineModel<T>({ required: true })
|
|
|
|
// Provide for child Tab components
|
|
provide('tabs-value', modelValue)
|
|
provide('tabs-update', (value: T) => {
|
|
modelValue.value = value
|
|
})
|
|
</script>
|