Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-three-sixty

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-three-sixty

A Vue 360 image rotator

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

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

  • Customized by Calidae.com
  • Original code in https://github.com/rajeevgade/vue-360

FAQs

Package last updated on 29 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc