1.0.24 • Published 1 year ago

@ajibari/vue-three-sixty v1.0.24

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Vue Three Sixty

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

Example

Features

  • 360° View
  • Zoom
  • Pan
  • Autoplay (Loops)
  • Full Screen Mode
  • Spin Direction
  • Image Caching
  • Mobile Responsive
  • Touch Events

Installation

npm install vue-three-sixty

Config

import VueThreeSixty from 'vue-three-sixty'

Vue.use(VueThreeSixty)

Example

<vue-three-sixty 
  :amount=36
  image-path="https://scaleflex.cloudimg.io/width/600/q35/https://scaleflex.ultrafast.io/https://scaleflex.airstore.io/demo/chair-360-36"
  filemame="chair_{index}.jpg?v1"
/>

Adding a Header

<template v-slot:header>
  36 Images - Autoplay (1 loop) - Reverse Spin
</template>

Props

NameTypeDescriptionRequiredDefault Value
amountNumberNumber of imagesYes
imagePathStringPath to your imageYes
fileNameStringFile name formatYes
spinReverseBooleanReverse SpinOptionalfalse
autoplayNumberAutoplay your imagesOptional24
loopNumberNumber of loops you want to autoplayOptional1
Optionalfalse
paddingIndexBooleanApply Leading Zero to Image IndexOptionalfalse
startAtZeroBooleanSet tru if your fist images start at 0Optionalfalse
disableZoomBooleanDisable Zoom FunctionalityOptionalfalse
scrollImageBooleanScroll Images instead of Default ZoomOptionalfalse
btnBgColorStringButtons Background colorOptional#F1F1F2
btnColorStringButtons Background colorOptional#666666
btnRoundedNumberButtons rounded bordersOptional0
btnSizeNumberButtons sizeOptional28

Buttons

(In order from left to right)

  • Play/Pause
  • Zoom In
  • Zoom Out
  • Move Left
  • Move Right
  • Reset Position
  • Fullscreen

Credits

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago