pt
prepare-transition
npm i prepare-transition
pt

prepare-transition

The prepareTransition plugin sets display and visibility to override any existing display and visibility properties.

by Jonathan Snook

0.1.1 (see all)License:MITTypeScript:Not Found
npm i prepare-transition
Readme

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.

Example usage:

$('#btn-test').bind('click', function(){
    $('.msg').prepareTransition().toggleClass('hidden');
});

Downloads/wk

8.3K

GitHub Stars

101

LAST COMMIT

7yrs ago

MAINTAINERS

1

CONTRIBUTORS

7

OPEN ISSUES

0

OPEN PRs

1
VersionTagPublished
0.1.1
latest
7yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate