-
Notifications
You must be signed in to change notification settings - Fork 37
Change default values for options #942
Copy link
Copy link
Closed
Milestone
Description
With 3.0 coming up (most prominently featuring no-jquery support), I think it's time to rethink some option defaults:
This is my proposal, empty means keep the current value:
| Option | Type | Old default | Proposal |
|---|---|---|---|
activity |
boolean |
false |
true |
allowedTypes |
string |
png|jpg|jpeg|gif |
"" |
animationSpeed |
number |
250 |
|
arrows |
boolean |
false |
true |
button |
boolean |
false |
true |
caption |
boolean |
false |
|
enableKeyboard |
boolean |
true |
|
history |
boolean |
false |
|
fullscreen |
boolean |
false |
true |
gutter |
number |
10 |
|
navigation |
boolean |
false |
|
overlay |
boolean |
false |
true |
preloadNext |
boolean |
true |
|
quitOnEnd |
boolean |
false |
true |
quitOnImgClick |
boolean |
false |
|
quitOnDocClick |
boolean |
true |
|
quitOnEscKey |
boolean |
true |
Remove the option |
@paxperscientiam Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels