让网页图标产生摆动效果:jQuery ClassyWiggle
jQuery ClassyWiggle让网页图标产生摆动效果,当你按住他们。类似于你按住iPhone上的应用图标时产生的效果。
Options
- degrees - an Array object which outlines the cycle of rotation for a wiggle increment.
- delay - allows you to specify, in milliseconds, the delay between switching from one rotation degree to the next (see degrees). A higher number creates a slower “wiggle.”
- limit - allows you to specify the maximum number of wiggles.
- randomStart - a boolean value which tells the plugin to start wiggling all matched elements at the same degree or a random one.
- onWiggle - an event that is fired off with the end of each wiggle.
- onWiggleStart - an event that is fired off when the wiggling effect first starts.
- onWiggleStop - an event that is fired off when the wiggling effect is stopped.
- start() - starts the wiggle effect.
- stop() - stops the wiggle effect.
- isWiggling() - a method that can be used to determine if the matched element is currently “wiggling.”
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!