- 78 SDK pages per language (components, composables, advanced API, guides, architecture, getting-started) - vector-edit.md user guide page (5 languages) - Update stale ru/programmable/cli/inspecting.md - Fix YAML frontmatter quoting for colons in descriptions 474 files, 0 missing pages across de/es/fr/it/pl/ru. VitePress build verified — all 546 SDK pages render.
1.7 KiB
1.7 KiB
| title | description |
|---|---|
| FillPickerRoot | Headless popover-basiertes Füllungsauswahl-Primitiv. |
FillPickerRoot
FillPickerRoot ist ein headless popover-basiertes Füllungsauswahl-Primitiv für einfarbige, Verlaufs- und Bildfüllungen.
Props
Ereignisse
Slots
Trigger-Slot-Props
{
style: Record<string, string>
}
Standard-Slot-Props
{
fill: Fill
category: 'SOLID' | 'GRADIENT' | 'IMAGE'
toSolid: () => void
toGradient: () => void
toImage: () => void
update: (fill: Fill) => void
}
Beispiel
<FillPickerRoot :fill="fill" @update="fill = $event">
<template #default="{ fill, category, toSolid, toGradient, update }">
<div>{{ category }}</div>
<button @click="toSolid">Einfarbig</button>
<button @click="toGradient">Verlauf</button>
<MyFillEditor :fill="fill" @change="update" />
</template>
</FillPickerRoot>