Skip to content

Change default values for options #942

@marekdedic

Description

@marekdedic

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions