Skip to content

Commit

Permalink
fix: expose table data on initialization (#209)
Browse files Browse the repository at this point in the history
Co-authored-by: Rohan Bansal <[email protected]>
  • Loading branch information
Alchez and Rohan Bansal authored Dec 5, 2024
1 parent f1dada1 commit 941dc8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions atable/src/components/ATable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ window.addEventListener('keydown', (event: KeyboardEvent) => {
}
}
})
defineExpose({ tableData })
</script>

<style>
Expand Down
10 changes: 10 additions & 0 deletions common/changes/@stonecrop/atable/development_2024-12-05-14-14.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@stonecrop/atable",
"comment": "expose table data on initialization",
"type": "patch"
}
],
"packageName": "@stonecrop/atable"
}

0 comments on commit 941dc8c

Please sign in to comment.