revolist / svelte-datagrid

Svelte data grid spreadsheet best best features and performance from excel
https://rv-grid.com
MIT License
98 stars 10 forks source link

docs: Correct the Svelte example #16

Closed pan93412 closed 2 months ago

pan93412 commented 1 year ago

The original Svelte example produces the “Function called outside component initialization” error, making the example unusable.

This PR refactors it with the SvelteKit and TypeScript. Also, defineCustomElements() is added to register the RevoGrid component correctly.

Note that:

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud