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

vue-carousel-diagonal

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-carousel-diagonal

## Installation ``` npm install vue-carousel-diagonal ``` or if you prefer yarn ``` yarn add vue-carousel ```

  • 0.3.18
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Installation

npm install vue-carousel-diagonal

or if you prefer yarn

yarn add vue-carousel

Usage

Global

You may install Vue Carousel Diagonal globally:

import Vue from 'vue';
import VueCarouselDiagonal from 'vue-carousel-diagonal';

Vue.use(VueCarouselDiagonal);

Local

Include the carousel directly into your component using import:

import { CarouselDiagonal } from 'vue-carousel-diagonal';

export default {
  ...
  components: {
    CarouselDiagonal
  }
  ...
};

Example

<template>
  <div id="app">
    <CarouselDiagonal :screens="screens" 
                      :sideWidth="5"
                      :textPrev="'PREV'"
                      style="width: 100vw; height: 100vh;"/>
  </div>
</template>

<script>
  import CarouselDiagonal from 'vue-carousel-diagonal';

  export default {
    name: 'App',
    components: {
      CarouselDiagonal
    },
    data: function() {
      return {
        screens: [
          { title: 'OLED', subtitle: 'Transparent', video: require('./assets/1.mp4') },
          { title: 'OLED', subtitle: 'Cinematic Sound', video: require('./assets/2.mp4') },
          { title: 'OLED', subtitle: 'Rollable', video: require('./assets/3.mp4') },
          { title: 'OLED', subtitle: 'Wallpaper', video: require('./assets/4.mp4') },
        ],
      }
    },
  }
</script>

Demo

vue-carousel-diagonal.png

Web: https://vue-carousel-diagonal.surge.sh/

FAQs

Package last updated on 18 Jan 2021

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