e2

emoji-233333

😂一个 2333333 表情雨插件

Showing:

Popularity

Downloads/wk

16

GitHub Stars

29

Maintenance

Last Commit

1yr ago

Contributors

1

Package

Dependencies

0

Size (min+gzip)

1.6KB

License

MIT

Type Definitions

Tree-Shakeable

Yes?

Categories

Readme

emoji-233333

GitHub stars npm GitHub issues GitHub last commit license

😂 2333333.


CDN

<script type="text/javascript" src="../dist/emoji-233333.js"></script>

npm

import Emoji233333 from 'emoji-233333'

Usage

const emoji233333 = new Emoji233333({

  // DOM / 选择器
  base: 'emoji', // string | HTMLElement

  // 显示器分辨率, 默认不需要指定自动分析
  ratio: 1, // number

  // 表情缩放程度
  scale: 0.7, // number

  // 动画速度
  speed: 12, // number

  // 递增速度
  increaseSpeed: 0.06, // number

  // 表情密度
  density: 0.3, // number

  // 是否启用交错效果
  staggered: true, // boolean
  
  // 自定义表情图片地址 url || base64
  emoji: 'https://xxxxx', // string

  // 是否启用内置缓存机制
  cache: true // boolean
})

// 发射
emoji233333.launch()

// 更新配置
emoji233333.update(newOptions)

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial