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

flexi-slider

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexi-slider

A Vue.js flexi slider component

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

[Flexi Slider ]

prs welcome npm version npm

Welcome to version 0.0.2 of Flexi Slider, an easy to implement, and well maintained Vue.js component.

You can support this project by giving it a star, or following the author. :heart:.

:exclamation::exclamation::exclamation: This is README for FlexiSlider component :exclamation::exclamation::exclamation:

Flexi Slider vue component made by Oliver

⚙ Installation

  • npm install flexi-slider --save

🤔 How to use it?

Module usage

import Vue from 'vue';
import FlexiSlider from 'flexi-slider';
Vue.use(FlexiSlider);

export default {
  data() {
    return {
      inputData: [
        {
          title: "Some Title 1",
          paragraph: "Some Lorem Ipsum 1",
          img:
            "https://app.imgforce.com/images/user/AwB_1617252386_ohrid4.jpg",
        },
        {
          title: "Some Title 2",
          paragraph: "Some Lorem Ipsum 2",
          img:
            "https://app.imgforce.com/images/user/yqI_1617252387_ohrid3.jpg",
        },
        {
          title: "Some Title 3",
          paragraph: "Some Lorem Ipsum 3",
          img:
            "https://app.imgforce.com/images/user/bXz_1617252387_ohrid2.jpg",
        },
        {
          title: "Some Title 4",
          paragraph: "Some Lorem Ipsum 4",
          img:
            "https://app.imgforce.com/images/user/K3X_1617252387_ohrid1.jpg",
        }
      ]
    }
  }
}
<flexi-slider />

<flexi-slider
  :inputData="inputData"
  :turnTimer="false"
  :timerInterval="1000"
  :nextButtonText="'Next'"
  :prevButtonText="'Prev'"
>

❔ Props & event


| Name                    | Type        | Mandatory     | Description 

| :-----                  | :-------    | :--------     |------------------------------- 
| inputData               | Array       | No            | Default data array. Look at the sample above to see what data could be passed as array
| turnTimer               | Boolean     | No            | False by default. If true, slider will change slides automatically
| timerInterval           | Number      | No            | Time interval in miliseconds for chaning slides. By default it is set to 2000ms (slides will change automatically in every 2 seconds)
| transitionOn            | Boolean     | No            | Turn on or turn off the transition. By default, transition is turn on.
| transitionName          | String      | No            | Change the transition class with your custom class. By default, the name of the transition class is slider
| nextButtonText          | String      | No            | Text for the next button
| prevButtonText          | String      | No            | Text for the prev button

License

MIT

Keywords

FAQs

Package last updated on 01 Apr 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