1.0.3 • Published 5 years ago

@zcorky/movable v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

NPM version Coverage Status Dependencies Build Status license issues

Movable

  • Make the element be movable anywhere.

Compatible

  • PC & Mobile

How to

  • 1 NPM
  • 2 Script
// 1 NPM
import Movable from '@zcorky/movable';

new Movable({
  handler: '.handler', // handler selector, default ".handler";
  container: '.container', // container select, default ".container"; if container doesnot exist, it will use handler as container.
  boundable: true, // enable boundary, default false, which means you can move anywhere;
});

// 2 Script
<script src="https://unpkg.com/@zcorky/movable/lib/index.umd.js"></script>
<script>
  new movable({
    handler: '.handler',
    container: '.container',
    boundable: true,
  })
</script>

Change Log

CHANGELOG.md

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago