-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
140 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
enabled: true # global enable/disable the entire plugin | ||
active: true # if the plugin is active and JS/CSS should be loaded | ||
gallery: false # enable/disable the gallery extension | ||
requirejs: false # output to an AMD module | ||
openSpeed: 250 # open speed in ms | ||
closeSpeed: 250 # close speed in ms | ||
closeOnClick: background # background|anywhere|false | ||
closeOnEsc: true # true|false on hitting Esc key | ||
root: body # where to append featherlights | ||
initTemplate: plugin://featherlight/js/featherlight.init.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
$(document).ready(function(){ | ||
$('a[rel="lightbox"]').{pluginName}({ | ||
openSpeed: {openSpeed}, | ||
closeSpeed: {closeSpeed}, | ||
closeOnClick: '{closeOnClick}', | ||
closeOnEsc: '{closeOnEsc}', | ||
root: '{root}' | ||
}); | ||
}); |