xverse-components-effect-car
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

API

参数名 类型 说明 默认值 是否必填 备注
bomId string 特效的 bomId - true -
pointId string 特效的 pointId 位置 - false -
isLoop boolean 特效是否循环播放 - false -
disposeWhenComponentUnmount boolean 组件卸载时销毁特效实例 - false -
EffectClass typeof BaseCar - false -
playCount number 特效播放次数 1 false 如果配置了循环播放,播放次数则不生效
disposeWhenEnd boolean 特效播放结束 是否销毁资源 - false -
timeoutTime number 是否使用定时器循环(单位:s) - false 如果配置了循环播放,播放次数则不生效,0 表示不使用
onInit (actId?: string) => void 初始化回调 - false -
onPlay () => void 特效播放时回调 - false -
onEnd () => void 特效结束时回调 - false -

Readme

Keywords

Package Sidebar

Install

npm i xverse-components-effect-car

Weekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

83.2 kB

Total Files

8

Last publish

Collaborators

  • canny_1207
  • joycess
  • shi2800