Skip to content

7vsy/jQuery.enqt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

jQuery.enqt

jQuery Plugin

This plugin activates several transformations in a particular order.
http://plugins.jquery.com/enqt/

Usage

Include this script after jQuery.

<script src='jquery.min.js'></script>
<script src='jquery.enqt.js'></script>
<script>
  $(selector).enqt( styles, [duration], [easing], [callback] );
</script>
  • $(selector) : jQueryObject
  • styles : Object
  • [duration] : Integer[ms]
  • [easing] : String
  • [callback] : Function

Example

Transform

$('#maru')
.enqt( { translate:{ x:'200px', y:'100px'} }, 500, "ease-out" )
.enqt( { translate:{ x:'200px', y:'100px'}, scale:{ x:2,y:2 }, backgroundColor:'#00f' }, 1000 )
.enqt( { rotate: '45deg', delay: 500 }, 500, function(){ console.log(123); } );

Depends

  • jQuery >=1.7.2

License

Copyright(c) 2013 Masato WATANABE
Licensed under the MIT license.

About

jQuery Plugin for CSS3 Transform.

Resources

Stars

Watchers

Forks

Packages

No packages published