qProgress.js是一个简单的网页顶部加载进度条JavaScript插件,可以创建漂亮的,彩色的可视化加载进度条状态。初始化加载进度条// ES const qprogress = new QProgress() // UMD window.qprogress = new qProgress();开始加载qprogress.start();结束进度qprogress.finish()设置百分比进度// 50% qprogress.set(0.5) // 100% qprogress.set(1.0)设置增加百分比qprogress.inc(0.2)自定义参数 // minimum percentage minimum: 0.12, // height in px height: 2, // background color color: '#1890ff', // is colorful? colorful: true, // easing function easing: 'ease', // animation speed speed: 400, // automatic increment trickle: true, trickleSpeed: 400, // parent container parentNode: 'body', // default selectors barSelector: '[role="bar"]', pegSelector: '[role="peg"]',
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)