GradientEditorBar
GradientEditorBar udostępnia state i pointer handlers potrzebne do wyrenderowania gradient bar. Obsługuje wybór oraz przeciąganie stops.
Przykład
vue
<GradientEditorBar
:stops="stops"
:active-stop-index="activeStopIndex"
:bar-background="barBackground"
@select-stop="selectStop"
@drag-stop="dragStop"
v-slot="ctx"
>
<MyGradientBar v-bind="ctx" />
</GradientEditorBar>