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

Commit 4ecd55c

Browse files
committed
Merge pull request #5 from fritz-c/develop
Add option to close the lightbox when the user clicks off the image
2 parents 0652555 + a1fc2b1 commit 4ecd55c

File tree

3 files changed

+198
-189
lines changed

3 files changed

+198
-189
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,4 @@ keyRepeatKeyupBonus | number | `40` | | Amount of time (ms) r
9595
imageTitle | string | | | Image title
9696
toolbarButtons | node[] | | | Array of custom toolbar buttons
9797
imagePadding | number | `10` | | Padding (px) between the edge of the window and the lightbox
98+
clickOutsideToClose | bool | `true` | | When true, clicks outside of the image close the lightbox

0 commit comments

Comments
 (0)