Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Pull request Compare This branch is 5 commits ahead, 8 commits behind snookca:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.html
jquery.preparetransition.js
jquery.preparetransition.min.js

README.md

prepareTransition jQuery Plugin

The prepareTransition plugin sets display and visibility to override any existing display and visibility properties. This ensures that the element can still animate without issue. For users who don't have support for CSS transitions, then the element will still work correctly. Once the transition is complete, the class name is removed.

See an example.

Use

$('#transition').click(function () {
    $('.item').prepareTransition().toggleClass('hidden');
});
Something went wrong with that request. Please try again.