11# 🐱🐱🐱 Vue-Cat-Carousel 🐱🐱🐱
22
33
4- Simple and lightest Carousel
4+ Simple, customizable, reactive and lightest Carousel
55
66
77## Install
@@ -48,8 +48,7 @@ How to use it in HTML
4848<cat-carousel
4949 :items =" items"
5050 :item-per-page =" 5"
51- :hide-indicators =" false"
52- :indicators-item-size =" 10"
51+ :indicators-config =" {activeColor: '#000', size: 10, color: '#d1d1d1', hideIndicators: false}"
5352 >
5453 <template
5554 slot =" item"
@@ -84,7 +83,6 @@ Slider:
8483| --------------- | -------------------------------- | ---------- | ---------------------------------------------------------------------- |
8584| items | list | [ ] | List of items in loop |
8685| item-per-page | number | 5 | List of items in one page |
87- | hide-indicators | boolean | false | show and hide carousel indicators |
8886| indicators-config | Object | INDICATORS_DEFAULT_CONFIG | define carousel indicators item size |
8987
9088INDICATORS_DEFAULT_CONFIG
@@ -94,6 +92,7 @@ property | type | value | description
9492size | number | 16 | size of indicators in pixel
9593color | string | '#d6d6d6' | color of indicators (hex, rgb, etc)
9694activeColor | string | '#0095da' | color of active indicator (hex, rgb, etc)
95+ hideIndicators | boolean | false | show and hide carousel indicators
9796
9897## Slots
9998
@@ -108,8 +107,7 @@ Previous navigation:
108107<cat-carousel
109108 :items =" items"
110109 :item-per-page =" 5"
111- :hide-indicators =" false"
112- :indicators-item-size =" 10"
110+ :indicators-config =" {activeColor: '#000', size: 10, color: '#d1d1d1', hideIndicators: false}"
113111 >
114112 <template
115113 slot =" prev-navigation"
@@ -125,8 +123,7 @@ Next navigation:
125123<cat-carousel
126124 :items =" items"
127125 :item-per-page =" 5"
128- :hide-indicators =" false"
129- :indicators-item-size =" 10"
126+ :indicators-config =" {activeColor: '#000', size: 10, color: '#d1d1d1', hideIndicators: false}"
130127 >
131128 <template
132129 slot =" prev-navigation"
0 commit comments