0.1.0 • Published 4 years ago

image360 v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Rotate object in 360° on mouse drag and on touch move

Demo Github Pages

Use CDN

<script src="https://unpkg.com/image360/dist/index.js"></script>

Or install as package

npm install image360

Usage

import Image360 from 'image360';

const image360 = new Image360(
  document.getElementById('targetImageOrBlockId'), {
    preload: true,
    imagesUrls: ['pathToImage1.jpg', 'pathToImage2.jpg', ... 'pathToImageN.jpg'],
});

Based on: https://vk-book.ru/kartinka-360-gradusov-na-javascript/

0.1.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.6

4 years ago

0.0.1

4 years ago