Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

refactor!: support [email protected] #33

wants to merge 1 commit into from

Conversation

iamyuu
Copy link
Owner

@iamyuu iamyuu commented Nov 21, 2024

since svelte and gridjs released major version, so this library also need major update

  • use latest svelte & gridjs
  • use svelte action
  • plugin to svelte
  • ensure all test passes
  • setup script release

@iamyuu iamyuu self-assigned this Nov 21, 2024
Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gridjs-svelte ❌ Failed (Inspect) Nov 21, 2024 7:17am

> 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)
Copy link
Owner Author

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);
Copy link
Owner Author

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?

Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant