New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gleis

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gleis

Gleis – physics for dragging UI animation

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

Gleis

npm version

Physics for dragging UI animation

Install

npm install gleis

Usage

<div class="track">
  <div class="train">
    <div class="car">0</div>
    <div class="car">1</div>
    <div class="car">2</div>
    <div class="car">3</div>
  </div>
</div>
import Gleis from 'gleis';

new Gleis({
  track: document.querySelector('.track'),
  train: document.querySelector('.train'),
  sleepers: [-200, —400, -600]
});

See the Demos.

To see more code implementations check the examples folder.

Demo

npm install

npm start

./examples/ folder will be running on: http://localhost:5000

Keywords

drag

FAQs

Package last updated on 29 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts