xverse-components-loading-preload
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

API

参数名 类型 说明 默认值 是否必填 备注
loadingText string 预加载过程中文案 正在为你打开快速通道... false -
enterRoomText string 预加载完成,进房过程中文案 进房中... false -
slogan string 元象 Slogan 文案 - false 不填则不展示
barFillColor string 进度条填充颜色 - false -
tailImage string 进度条尾部图片 - false -
swiperImages string[] 轮播图片 - false -
bgVideo string 背景视频地址(选择视频后轮播图无效) - false -
bgVideoPoster string 背景视频 poster - false 默认会有补充值
isWaitVideoOver boolean 是否等待 loading 视频播放结束 - false true 表示视频播完后,才能进行下一步操作,其他逻辑保持原状;false 表示不需要等待视频播完
autoNext boolean 自动进入下一步骤 - false true 表示资源加载完是否立刻结束,调用 onNext;false 表示需要等用户点击下一步按钮后才结束
nextBtnProps IButtonProps 下一步按钮 - false -
className string 组件自定义类名 - false -
style CSSProperties - false -
onNext () => void 资源加载结束事件 - false -

Readme

Keywords

Package Sidebar

Install

npm i xverse-components-loading-preload

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

107 kB

Total Files

9

Last publish

Collaborators

  • canny_1207
  • joycess
  • shi2800