Skip to main content
Version: 1.2.0

Quick Start

Native Scroll is the most basic and best scrolling function that a browser can support.
Conveyer adds Drag gestures to your Native Scroll.

Add the script/CSS to the page.

<!-- -->
<script src="" crossorigin="anonymous"></script>

Or, you can rather import them if you're using a bundler like webpack or rollup.

import Conveyer from "@egjs/conveyer";

Then, add some basic HTML layout of Conveyer to your page.

<div class="items">
<div class="item">1</div>
<div class="item">2</div>
<div class="item">3</div>

Then initialize Conveyer instance with JavaScript after.

import Conveyer from "@egjs/react-conveyer";

const ig = new Conveyer(".items");