motionType : Motion Typography plugin

联合创作 · 2023-10-02 16:19

motionType is motion typography plugin.



  • Characters displayed in the order.

  • Fade-animation.


Usage


$(filter).motionType([options],[callback]);




options (Object)



  • motionChar: Integer // [defalt=1] characters per motin.

  • motionRate: Integer // [defailt=50] time per motion.(msec)

  • fadeRate: Integer // [defailt=500] time par fade.(msec)

  • type: 'fade'|'normal' // [defailt='fade'] display form of motion.




callback (Function)


A function to be executed whenever the motion completes.


Sample




var options = {
motionChar: 5,
motionRate: 200,
fadeRate: 500,
type: 'fade'
}
$('#sample').motionType(options);

浏览 15
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报