alex61nn5 / easy-scroll-sync Goto Github PK
View Code? Open in Web Editor NEW๐ฏโโ๏ธ Easily synchronize scroll between different elements
๐ฏโโ๏ธ Easily synchronize scroll between different elements
Ability to be able to set different scrollable elements
For example:
<!-- These Items will scroll together -->
<div data-scrollsync data-scrollsync-group="1"></div>
<div data-scrollsync data-scrollsync-group="1"></div>
<!-- These items will scroll together -->
<div data-scrollsync data-scrollsync-group="2"></div>
<div data-scrollsync data-scrollsync-group="2"></div>
Hey @Alex61NN5 thank you for making this library!!
I tried to use it via NPM as a dependency and devDependency in both ways I'm getting this error:
[!] Error: 'EasyScrollSync' is not exported by node_modules/easy-scroll-sync/dist/easy-scroll-sync.esm.js, imported by src/components/Table.svelte
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
src/components/Table.svelte (4:11)
2: import { onMount } from "svelte";
3: import Icon from "./Icons.svelte";
4: import { EasyScrollSync } from 'easy-scroll-sync';
^
5:
Error: 'EasyScrollSync' is not exported by node_modules/easy-scroll-sync/dist/easy-scroll-sync.esm.js, imported by src/components/Table.svelte
Node version v16.14.2
NPM version 8.5.0
Thanks for you help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.