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

flexi-timeline

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexi-timeline

A Vue.js flexi timeline component

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

[Flexi Timeline ]

prs welcome npm version npm

Welcome to version 0.0.7 of Flexi Timeline, 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 FlexiTimeline component :exclamation::exclamation::exclamation:

Flexi Timeline vue component made by Oliver

⚙ Installation

  • npm install flexi-timeline --save

🤔 How to use it?

Module usage

import Vue from 'vue';
import FlexiTimeline from 'flexi-timeline';
Vue.use(FlexiTimeline);

export default {
  name: 'yourComponent',
  widgets: [
    {
      title: 'some Title 1',
      subTitle: 'Some SubTitle',
      description: 'Some Description',
      buttonText: 'Some ButtonText'
    },
    {
      title: 'some Title 2',
      subTitle: 'Some SubTitle',
      description: 'Some Description',
      buttonText: 'Some ButtonText'
    },
    {
      title: 'some Title 3',
      subTitle: 'Some SubTitle',
      description: 'Some Description',
      buttonText: 'Some ButtonText'
    },
    {
      title: 'some Title 4',
      subTitle: 'Some SubTitle',
      description: 'Some Description',
      buttonText: 'Some ButtonText'
    }
  ]
}
<flexi-timeline
  :widgets="widgets"
  :widgetsAos="true"
  :widgetsAosType="'fade-up'"
  :widgetsAosDuration="'1500'"
  @button-clicked="someAction"
/>

Browser usage

Include the script file, then install the component with Vue.use(FlexiTimeline); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/flexi-timeline/dist/flexi-timeline.min.js"></script>
<script type="text/javascript">
  Vue.use(FlexiTimeline);
</script>

❔ Props & event


| Name                    | Type        | Mandatory     | Description 

| :-----                  | :-------    | :--------     |------------------------------- 
| widgets                 | Array       | Yes           | List of items as given the sample above
| widgetsAos              | Boolean     | No            | By default this functionality is turned off / true for turning on Animate on Scroll Animation
| widgetsAosType          | String      | No            | Type of the AOS. By default is fade-up animation
| widgetsAosDuration      | String      | No            | Duration of the AOS. By default is 1500 (miliseconds)
| button-clicked          | Event       | No            | Fired an event when the button is clicked

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