Skip to content

Commit

Permalink
Merge pull request #6 from andreasbhansen/main
Browse files Browse the repository at this point in the history
feat: support `resizable` columns
  • Loading branch information
iamyuu authored Jun 11, 2021
2 parents e771733 + dec1ef5 commit 5292912
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"author": "Yusuf <hello@iamyuu.dev>",
"license": "MIT",
"peerDependencies": {
"gridjs": ">=3.2.0",
"gridjs": ">=4.0.0",
"svelte": ">=3.30.0"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/gridjs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
export let height: string = "auto";
export let autoWidth: boolean = true;
export let fixedHeader: boolean = false;
export let resizable: boolean = false;
export let from: HTMLElement = undefined;
export let language: Language = undefined;
export let search: SearchConfig | boolean = false;
Expand Down Expand Up @@ -74,6 +75,7 @@
fixedHeader,
style,
className,
resizable,
});
instance.on('cellClick', (...args) => dispatch('cellClick', {...args}))
Expand Down

0 comments on commit 5292912

Please sign in to comment.