New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

xes-animate

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xes-animate

`import AnimateClass from './animate'`

latest
npmnpm
Version
1.0.14
Version published
Weekly downloads
6
-53.85%
Maintainers
3
Weekly downloads
 
Created
Source

import AnimateClass from 'xes-animate'

new AnimateClass(container,{//需要动画的元素  必填
    time:0.5,               //动画时间 默认0.6  可不配置
    type:'fadeOut',         //动画名字 默认zoomIn 可不配置
    delay:0,                //延时 默认 0 可不配置
    onComplete:()=>{       
         //动画执行后回调 如非必须 可不配置
    }
});

可选效果

  • bounceInDown 从上往下 弹跳

  • bounceOutDown 出场效果 弹跳

  • bounceIn 从小变大 弹跳

  • bounceInUp 从下往上 弹跳

  • bounceInLeft 从右往左 弹跳

  • zoomIn 从小变大

  • zoomInAn 从小变大 弹跳

  • fadeIn 透明度从0-1

  • fadeOut 透明度从1-0

  • leftAndRight 左右弹动

  • upAndDown 上下弹动

  • redFlicker 闪烁效果

  • bomb Q弹

FAQs

Package last updated on 02 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts