Skip to content

Commit 096a3cd

Browse files
committed
Add new options to README
1 parent e36ca55 commit 096a3cd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ The following options are available:
165165
| --- | --- | --- | --- |
166166
| `captions` | `Boolean` \| `function(element)` | `true` | Display image captions. Passing a function will use a string returned by this callback. The only argument is `a` element containing the image. Invoked in the context of the current gallery array |
167167
| `buttons` | `Boolean` \| `'auto'` | `'auto'` | Display buttons. `'auto'` hides buttons on touch-enabled devices or when only one image is available |
168+
| `leftArrow` \| `rightArrow` \| `closeX` | `string` | default icons | This allows to customize buttons with own icons |
168169
| `fullScreen` | `Boolean` | `false` | Enable full screen mode |
169170
| `noScrollbars` | `Boolean` | `false` | Hide scrollbars when gallery is displayed |
170171
| `bodyClass` | `String` | `'baguetteBox-open'` | Class name that will be appended to the `body` when lightbox is visible (works in IE 10+) |

src/baguetteBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
overlayBackgroundColor: 'rgba(0,0,0,.8)',
5252
closeX: closeX,
5353
leftArrow: leftArrow,
54-
rightArrow: rightArrow
54+
rightArrow: rightArrow,
5555
};
5656
// Object containing information about features compatibility
5757
var supports = {};

0 commit comments

Comments
 (0)