url-spinner:地址栏中的微调框

时间:2021-03-16 08:31:31
【文件属性】:
文件名称:url-spinner:地址栏中的微调框
文件大小:191KB
文件格式:ZIP
更新时间:2021-03-16 08:31:31
TypeScript 网址旋转 地址栏中的微调框。 灵感来自 开始吧 安装 使用npm: npm install url-spinner 用法 简单的例子 import { startSpinning } from "url-spinner" ; const stopSpinning = startSpinning ( ) ; // Perform some async tasks and call stopSpinning at a proper time setTimeout ( stopSpinning , 3000 ) ; 要在3秒后自动停止旋转 startSpinning ( { duration : 3000 } ) ; 定制微调器 startSpinning ( { duration : 3000 , spinner : [ ":new_moon_face:" , ":waning_crescent_moon:" , ":last_quarter_moon:" , ":waning_gibbous_moon:" , ":full_moon_face:" ,
【文件预览】:
url-spinner-master
----index.ts(1KB)
----.npmignore(21B)
----tsconfig.json(6KB)
----assets()
--------example1.gif(46KB)
--------example2.gif(72KB)
--------example4.gif(57KB)
--------example3.gif(47KB)
----.gitignore(41B)
----readme.md(1KB)
----package-lock.json(389B)
----package.json(451B)

网友评论