1.3.14 • Published 6 years ago

alipes-carousel v1.3.14

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

AlipesCarousel 1.3.14

AlipesCarousel was created to provide custom carousel solutions designed by Alipes. It currently contains 3 different types of custom carousels.

How to use

  • npm install alipes-carousel
  • require('alipes-carousel/js/alipesCarousel') for the javascript
  • import '~alipes-carousel/scss/alipesCarousel.scss' for the scss

There are currently settings you can override:

###Default:

$('#my-carousel').alipesCarousel({
    type: 'sonyacel',
    navPrev: true,
    navPrevClass: 'prev',
    navPrevContent: '<',
    navNext: true,
    navNextClass: 'next',
    navNextContent: '>',
    indicators: true,
    transtionTextColor: true,
    carouselHeightBasedOnImage: false,
    defaultCarouselHeight: 500
});

Settings

OptionDescription
typeAvaliable: 'sonyacel', 'singleSlide', and 'sudensel'
navPrevbool value. Show previous arrow navigation
navPrevClassAdd custom class to the previous arrow navigation
navPrevContentChange the arrows to your own custom version
navNextbool value. Show next arrow navigation
navNextClassAdd custom class to the next arrow navigation
navNextContentChange the arrows to your own custom version
indicatorstrue/false value. Add dot indicators
transtionTextColortrue/false value. Transition the background color for the text slider
carouselHeightBasedOnImagebool value. Allows the carousel to size based on the images used. Only used in sonyacel
defaultCarouselHeightint value. Only used when carouselHeightBasedOnImage is TRUE. Only used in sonyacel

Methods

$('#my-carousel').alipesCarousel().destroy();

Removes all the event listeners in the carousel

SingleSlider

In order to use this feature, you must install hammerjs for mobile support (touch guestures) Uses 2.0.8 as of 10/17/2017

Standalone Installation

  1. npm install
  2. npm run build or webpack
  3. php -S localhost:8000
  4. navigate to localhost:8000 in browser
  5. profit
1.3.14

6 years ago

1.3.13

6 years ago

1.3.12

6 years ago

1.3.11

6 years ago

1.3.10

6 years ago

1.3.9

6 years ago

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.2.1

6 years ago