Parrots
Continuously synchronizing web with performance. Parrot em all! 🐤
Suitable for synchronizing HTML element scroll left, scroll top, width, height, ... or any other things like object properties, array items...
Installation
npm i --save parrots
UMD latest builds also available at jsDelivr
<script src="https://cdn.jsdelivr.net/npm/parrots@latest/dist/parrots.min.js"></script>
or unpkg.com
https://unpkg.com/parrots@latest/dist/parrots.min.js
Examples
Live examples
// Create a handle to synchronize scroll leftvar syncScrollLeft = // Add affected elementssyncScrollLeftsyncScrollLeft // Trigger scroll left copying from el3 when it's scrolledel3