-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: support [email protected] #33
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
> You can pass all Grid.js configs, refer to [Grid.js types](https://github.com/grid-js/gridjs/blob/master/src/config.ts) for specific configuration options. | ||
|
||
## Example | ||
or you can play [online](https://svelte.dev/playground) or with more [real world example](https://svelte.dev/playground) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: update playground URL
export type GridjsAction = Action<HTMLElement, GridjsProps, GridjsAttributes>; | ||
|
||
export const gridjs: GridjsAction = (node, config) => { | ||
const grid = new Grid(config).render(node); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NEED HELP: how to user pass / change the instance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TOOD: move action & create component to libs
since svelte and gridjs released major version, so this library also need major update