Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
feimosi committed Jan 22, 2015
1 parent 7b9b20c commit c9c6fc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ You can pass an object with custom options as a second parameter. The following
animation: 'slideIn', // 'slideIn'|'fadeIn'|false - Animation type
afterShow: null, // callback - To be run after showing the overlay
afterHide: null, // callback - To be run after hiding the overlay
onChange: null // callback(currentIndex, imagesElements.length) - When image changes
onChange: null, // callback(currentIndex, imagesElements.length) - When image changes
filter: /.+\.(gif|jpe?g|png|webp)/i // RegExp object - pattern to match image files
}
```
`buttons: 'auto'` hides buttons on touch-enabled devices or when only one image is displayed.
Expand Down

0 comments on commit c9c6fc0

Please sign in to comment.