@jbtcd/threesixtyjs

1.2.1 • Public • Published

ThreeSixtyJS — New 360° Views

@jbtcdDE on Twitter license

How to use it

After installation you can create an image container in html:

<div class="YOUR_IDENTIFIER" data-src="/PATH/TO/YOUR/IMAGES/{}.jpg" data-amount="48"></div>

Replace YOUR_IDENTIFIER with a custom class name to identify a ThreeSixtyJS container.

Replace data-src with the path to your ThreeSixtyJS images and use {} as placeholder for your image id`s (starts with 0).

Replace data-amount with the number of images your ThreeSixtyJS view contains.

new ThreeSixtyJS('.YOUR_IDENTIFIER', OPTIONAL_SETTINGS);

Replace YOUR_IDENTIFIER with a custom class name to identify a ThreeSixtyJS container.

License

The MIT License (MIT). Please see License File for more information.

Readme

Keywords

Package Sidebar

Install

npm i @jbtcd/threesixtyjs

Weekly Downloads

2

Version

1.2.1

License

MIT

Unpacked Size

28.3 kB

Total Files

8

Last publish

Collaborators

  • jbtcd