Skip to content

Commit adfc2df

Browse files
committed
VueUiWaffle added cell data passed to the #cell slot
1 parent a77b3d2 commit adfc2df

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.0.80",
4+
"version": "2.0.81",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-waffle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ defineExpose({
594594
:width="rectDimension"
595595
class="vue-ui-waffle-custom-cell-foreignObject"
596596
>
597-
<slot name="cell" v-bind="{ cell: {...position, color: rects[i].color}, isSelected: [null, undefined].includes(selectedSerie) ? true : rects[i].serieIndex === selectedSerie }"/>
597+
<slot name="cell" v-bind="{ cell: {...position, color: rects[i].color, ...rects[i]}, isSelected: [null, undefined].includes(selectedSerie) ? true : rects[i].serieIndex === selectedSerie }"/>
598598
</foreignObject>
599599
</template>
600600

0 commit comments

Comments
 (0)