openpencil/packages/docs/ru/programmable/sdk/api/components/gradient-editor-stop.md
Danila Poyarkov 3572eeec5e docs: remove untranslated localized placeholders
- 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
2026-08-13 20:40:41 +03:00

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>

Связанные API