Skip to content

Commit

Permalink
Merge pull request #39 from Redbility/develop
Browse files Browse the repository at this point in the history
Full autoplay functionality
  • Loading branch information
oscarsolas authored Jun 8, 2017
2 parents e9f35a7 + c741567 commit e996205
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ Image gallery example:
| prevIcon | Allows customize the prev arrow icon | String | image:navigate-before |
| nextIcon | Allows customize the next arrow icon | String | image:navigate-next |
| loop | Allows repeat slides infinitely | Boolean | false |
| autoplay | Allows play automatically | Boolean | false |
| autoplaytime | Sets the time of autoplay in miliseconds | Number | 6000 |

### Methods

Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<body unresolved>
<div class="content">
<!-- MODULE-->
<paper-carousel items="4" responsive="1280:3, 800:2, 460:1" controls="true" dots="true" dotText="false" loop="true">
<paper-carousel items="4" responsive="1280:3, 800:2, 460:1" controls="true" dots="true" dotText="false" loop="true" autoplay="true" autoplaytime="3000">
<div class="paper-carousel-demo-indigo" data-text="#1"></div>
<div class="paper-carousel-demo-pink" data-text="#2"></div>
<div class="paper-carousel-demo-teal" data-text="#3"></div>
Expand Down
Loading

0 comments on commit e996205

Please sign in to comment.