velocity升级到2.0后api发生了变化,按照原来的名称已经不能调用原来的动画效果,新的名称如下:velocity.ui2.0所有的内置动画名称
- bounce
- flash
- headShake
- jello
- pulse
- rubberBand
- shake
- swing
- tada
- wobble
- bounceIn
- bounceInDown
- bounceInLeft
- bounceInRight
- bounceInUp
- bounceOut
- bounceOutDown
- bounceOutLeft
- bounceOutRight
- bounceOutUp
- fadeIn
- fadeInDown
- fadeInDownBig
- fadeInLeft
- fadeInLeftBig
- fadeInRight
- fadeInRightBig
- fadeInUp
- fadeInUpBig
- fadeOut
- fadeOutDown
- fadeOutDownBig
- fadeOutLeft
- fadeOutLeftBig
- fadeOutRight
- fadeOutRightBig
- fadeOutUp
- fadeOutUpBig
- flip
- flipInX
- flipInY
- flipOutX
- flipOutY
- lightSpeedIn
- lightSpeedOut
- rotateIn
- rotateInDownLeft
- rotateInDownRight
- rotateInUpLeft
- rotateInUpRight
- rotateOut
- rotateOutDownLeft
- rotateOutDownRight
- rotateOutUpLeft
- rotateOutUpRight
- slideInDown
- slideInLeft
- slideInRight
- slideInUp
- slideOutDown
- slideOutLeft
- slideOutRight
- slideOutUp
- hinge
- jackInTheBox
- rollIn
- rollOut
- zoomIn
- zoomInDown
- zoomInLeft
- zoomInRight
- zoomInUp
- zoomOut
- zoomOutDown
- zoomOutLeft
- zoomOutRight
- zoomOutUp
数组形式如下
[ ‘bounce‘,
‘flash‘,
‘headShake‘,
‘jello‘,
‘pulse‘,
‘rubberBand‘,
‘shake‘,
‘swing‘,
‘tada‘,
‘wobble‘,
‘bounceIn‘,
‘bounceInDown‘,
‘bounceInLeft‘,
‘bounceInRight‘,
‘bounceInUp‘,
‘bounceOut‘,
‘bounceOutDown‘,
‘bounceOutLeft‘,
‘bounceOutRight‘,
‘bounceOutUp‘,
‘fadeIn‘,
‘fadeInDown‘,
‘fadeInDownBig‘,
‘fadeInLeft‘,
‘fadeInLeftBig‘,
‘fadeInRight‘,
‘fadeInRightBig‘,
‘fadeInUp‘,
‘fadeInUpBig‘,
‘fadeOut‘,
‘fadeOutDown‘,
‘fadeOutDownBig‘,
‘fadeOutLeft‘,
‘fadeOutLeftBig‘,
‘fadeOutRight‘,
‘fadeOutRightBig‘,
‘fadeOutUp‘,
‘fadeOutUpBig‘,
‘flip‘,
‘flipInX‘,
‘flipInY‘,
‘flipOutX‘,
‘flipOutY‘,
‘lightSpeedIn‘,
‘lightSpeedOut‘,
‘rotateIn‘,
‘rotateInDownLeft‘,
‘rotateInDownRight‘,
‘rotateInUpLeft‘,
‘rotateInUpRight‘,
‘rotateOut‘,
‘rotateOutDownLeft‘,
‘rotateOutDownRight‘,
‘rotateOutUpLeft‘,
‘rotateOutUpRight‘,
‘slideInDown‘,
‘slideInLeft‘,
‘slideInRight‘,
‘slideInUp‘,
‘slideOutDown‘,
‘slideOutLeft‘,
‘slideOutRight‘,
‘slideOutUp‘,
‘hinge‘,
‘jackInTheBox‘,
‘rollIn‘,
‘rollOut‘,
‘zoomIn‘,
‘zoomInDown‘,
‘zoomInLeft‘,
‘zoomInRight‘,
‘zoomInUp‘,
‘zoomOut‘,
‘zoomOutDown‘,
‘zoomOutLeft‘,
‘zoomOutRight‘,
‘zoomOutUp‘ ]
原文地址:https://www.cnblogs.com/many-object/p/9901751.html