Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Shopify/prepareTransition

 
 

Repository files navigation

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');
});

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.8%
  • HTML 40.2%