A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ragnarlotus.github.io/vue-flux-docs/documentation/v6/overview below:

Overview | VueFlux

# Overview

This is an image slider developed with vue open in new window 2 which comes with 20 cool transitions out of the box.

# Demo

You can view some demos here (WIP).

# Features Feature Description Responsive The slider and the images are adapted to container to fill it always Compatibility Supported by all major browsers Expandable You can add your custom transitions very easily Customization Total customizable to suit most needs Gestures Mobile friendly by gestures Functionality You can use arrow keys to navigate. Switch to full screen Parallax It includes a parallax component very easy to set up # Quick start

Install and save the package.

npm install --save vue-flux@stable

Add the component to the template. This one has all the complements, so you can remove the ones you don't want.

<vue-flux
   :options="vfOptions"
   :images="vfImages"
   :transitions="vfTransitions"
   :captions="vfCaptions"
   ref="slider">

   <template v-slot:preloader>
      <flux-preloader />
   </template>

   <template v-slot:caption>
      <flux-caption />
   </template>

   <template v-slot:controls>
      <flux-controls />
   </template>

   <template v-slot:pagination>
      <flux-pagination />
   </template>

   <template v-slot:index>
      <flux-index />
   </template>
</vue-flux>

<button @click="$refs.slider.show('next')">NEXT</button>

Add it to the component, and like before you can remove the complements you don't use.

import {
   VueFlux,
   FluxCaption,
   FluxControls,
   FluxIndex,
   FluxPagination,
   FluxPreloader
} from 'vue-flux';

export default {
   components: {
      VueFlux,
      FluxCaption,
      FluxControls,
      FluxIndex,
      FluxPagination,
      FluxPreloader,
   },

   data: () => ({
      vfOptions: {
         autoplay: true
      },
      vfImages: [ 'URL1', 'URL2', 'URL3' ],
      vfTransitions: [ 'fade', 'cube', 'book', 'wave' ],
      vfCaptions: [
         'Caption for image 1',
         'Caption for image 2',
         'Caption for image 3',
      ],
   }),
}
# Performance

Weight is about 130 KB so is pretty light having only the essential CSS. It also does not require a high end computer as animations are performed with CSS3 hardware acceleration.

# Included transitions # 2D transitions # 3D transitions # Parallax

As simple as this.

<flux-parallax src="url" style="height: 300px;">
   <div>CONTENT</div>
</flux-parallax>
# Troubleshooting

If you find yourself running into issues during installation or running the slider, please check our documentation open in new window. If still needs help open an issue open in new window. We would be happy to discuss how they can be solved.

# Documentation

You can view the full documentation at the project's documentation open in new window with examples and detailed information.

# Changelog

Check the changelog open in new window for update info.

# Inspiration

This slider was inspired by Flux Slider open in new window.

# Contributing

Contributions, questions and comments are all welcome and encouraged.

Do not hesitate to send me your own transitions to add them to the slider.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4