Skip to content

Commit da51c8f

Browse files
committed
Improvement - VueUiStackbar - Expose more data in the svg slot
1 parent 08ab995 commit da51c8f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/vue-ui-stackbar.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,10 @@ defineExpose({
22662266
:data-end="slicer.end"
22672267
/>
22682268
2269-
<slot name="svg" v-bind="{ ...drawingArea }"/>
2269+
<slot name="svg" :svg="{
2270+
drawingArea,
2271+
data: formattedDataset
2272+
}"/>
22702273
</svg>
22712274
22722275
<div v-if="$slots.watermark" class="vue-data-ui-watermark">

0 commit comments

Comments
 (0)