kornelski / slip

Slip.js — UI library for manipulating lists via swipe and drag gestures
BSD 2-Clause "Simplified" License
2.44k stars 213 forks source link

Npm call #98

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

i've installed Slip by npm (https://www.npmjs.com/package/slipjs/tutorial). As i'm using browserify, i would like to know how to call Slip by require / import instruction. It's for just a part of a SPA, so i don't want to use a script html tag.

kornelski commented 6 years ago

Try global.Slip or window.Slip.