Skip to content

Added new option called fadeOutInvisible#481

Open
justinkempton wants to merge 3 commits intothebird:masterfrom
justinkempton:master
Open

Added new option called fadeOutInvisible#481
justinkempton wants to merge 3 commits intothebird:masterfrom
justinkempton:master

Conversation

@justinkempton
Copy link

var swipe = new Swipe(document.getElementById("slider"), { fadeOutInvisible : true });

this will add the class hiddenPanel to none visible panels

* Added new option to fade out panels that are not visible
* fadeOutInvisible : true, will add a class called hiddenPanel to panels not visible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant