AI-native design editor. Open-source Figma alternative.
title: GradientEditorBar description: Interaktiver Gradient bar zum Auswählen und Ziehen von Stops.
GradientEditorBar
GradientEditorBar stellt State und Pointer handlers zum Rendern eines Gradient bar bereit. Der Component behandelt Selection und Drag der Stops.
Props
Events
Beispiel
<GradientEditorBar
:stops="stops"
:active-stop-index="activeStopIndex"
:bar-background="barBackground"
@select-stop="selectStop"
@drag-stop="dragStop"
v-slot="ctx"
>
<MyGradientBar v-bind="ctx" />
</GradientEditorBar>