- Route copied English MCP, CLI, technical reference, shortcut, and useNumberField pages to their canonical English sources - Repair remaining mixed-language user-guide and SDK labels - Detect cross-locale placeholder copies and substantial English content in localized Markdown during documentation integrity checks
2.3 KiB
2.3 KiB
| title | description |
|---|---|
| GradientEditorStop | Headless-примитив слота для одной строки точки градиента. |
GradientEditorStop
GradientEditorStop — headless-примитив для рендеринга и редактирования одной точки градиента.
Свойства
События
Слоты
Пропы слота default
{
stop: GradientStop
index: number
active: boolean
positionPercent: number
opacityPercent: number
hex: string
css: string
select: () => void
updatePosition: (position: number) => void
updateColor: (hex: string) => void
updateOpacity: (opacity: number) => void
remove: () => void
}
Пример
<GradientEditorStop :stop="stop" :index="index" :active="active" v-slot="ctx">
<MyGradientStopRow v-bind="ctx" />
</GradientEditorStop>