Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit 7274b26

Browse files
author
Łukasz Florczak
committed
Demo and doc for v0.3
1 parent d4102f0 commit 7274b26

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,15 @@ Every first-level child of `<agile>` is a new slide.
5656
| autoplaySpeed | integer (ms) | `3000` | Autoplay interval in milliseconds |
5757
| dots | boolean | `true` | Enable dot indicators/pagination |
5858
| fade | boolean | `false` | Enable fade effect |
59-
| infinite | boolen | `true` | Infinite loop sliding |
59+
| infinite | boolean | `true` | Infinite loop sliding |
6060
| mobileFirst | boolean | `true` | Enable mobile first calculation for responsive settings |
6161
| options | object | `null` | All settings as one object |
6262
| pauseOnHover | boolean | `true` | Pause autoplay when a slide is hovered |
6363
| pauseOnDotsHover | boolean | `false` | Pause autoplay when a dot is hovered |
6464
| responsive | object | `null` | Object containing breakpoints and settings objects |
6565
| speed | integer (ms) | `300` | Slide animation speed in milliseconds |
6666
| timing | string | `ease` | Transition timing function <br> (`linear`/`ease`/`ease-in`/`ease-out`/`ease-in-out`) |
67+
| unagile | boolean | `false` | Disable agile carousel |
6768

6869
### Example
6970

demo/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="container">
55
<div class="row">
66
<div class="col-xs-12">
7-
<h1 class="section__title">Demo of <strong>vue-agile</strong><span class="badge">0.2</span></h1>
7+
<h1 class="section__title">Demo of <strong>vue-agile</strong><span class="badge">0.3</span></h1>
88
<p class="section__description">vue-agile is a carousel component for Vue.js inspired by Slick. Simple, touch-friendly, written in Vue and Vanilla JS (without jQuery dependency).</p>
99

1010
<div class="gh-buttons visible-md">
@@ -39,7 +39,7 @@
3939

4040
<div class="row">
4141
<div class="col-xs-12">
42-
<agile>
42+
<agile :options="options">
4343
<div class="slide slide--1"><h3>slide 1</h3></div>
4444
<div class="slide slide--2"><h3>slide 2</h3></div>
4545
<div class="slide slide--3"><h3>slide 3</h3></div>

0 commit comments

Comments
 (0)