npm install animate-native let animate = require('animate-native');
import animate from 'animate-native';
animate(ele, styles, options)
speed: 'normal' | 'slow' | 'fast'
完成时长: Number | String
normal: 400
slow: 600
fast: 200
可以手动配置(毫秒数)默认400
easing: easeIn | easeOut | easeInOut
缓动类型: String
默认'easeInOut'
animation: Linear | Quad | Cubic | Quart | Quint | Sine | Expo | Circ | Elastic | Back | Bounce
缓动函数名称: String
默认'Quart',可参考Tween函数
callback:
回调函数: Function
动画执行完毕后调用
}