SvelteTableComponent Svelte Themes

Sveltetablecomponent

A challenge to get acquainted with SvelteJs

Animal Table

An exercise in creating a dynamically resizable table using TypeScript and Svelte.js. The Breed names column will render a string array of names. As the width of the table decreases the bred names will be hidden and replaced by a badge which will show the number of names that are not displayed.

Running the project

Install the dependencies...

npm install

...then start Rollup in development mode:

npm run dev

Navigate to localhost:5000. The app should be running after the build is finished.

Top categories

Loading Svelte Themes