1.0.4 • Published 4 years ago

vue-360-viewer v1.0.4

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

vue-360-viewer

  • A Simple and Beautiful 360° Product Viewer built on Vue.js

Demo

Click Here for Demo

Installation

npm install --save vue-360-viewer

Config

import VueThreeSixty from 'vue-360-viewer'

Vue.use(VueThreeSixty)

Example

<vue-three-sixty 
  :amount=36
  imagePath="https://scaleflex.cloudimg.io/width/600/q35/https://scaleflex.ultrafast.io/https://scaleflex.airstore.io/demo/chair-360-36"
  fileName="chair_{index}.jpg?v1"
/>
  • The icons used in the demo are from fontawesome. Add the following in your header to display the icons.
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" rel="stylesheet" type="text/css">

Props

NameTypeDescriptionRequiredDefault Value
amountNumberNumber of imagesYes
imagePathStringPath to your imageYes
fileNameStringFile name formatYes
spinReverseBooleanReverse SpinOptionalfalse
headerBooleanShow/Hide HeaderOptionalfalse
autoplayNumberAutoplay your imagesOptional24
loopNumberNumber of loops you want to autoplayOptional1
boxShadowBooleanApply Box Shadow BackgroundOptionalfalse
buttonClassStringApply Styling to ButtonsOptional (light/dark)light

Roadmap

  • Hotspots
  • Fullscreen
  • Custom CSS Classes
  • Custom Buttons
  • And a few more ...

Dependencies

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago