当前位置:网站首页>NProgress插件(进度条)
NProgress插件(进度条)
2022-08-07 09:52:00 【HHYZBC】
NProgress插件用于快速制作加载进度条。
极简主义进度条
rstacruz/nprogress:适用于YouTube,Medium等超长进度条 (github.com)
https://github.com/rstacruz/nprogress
安装
npm install --save nprogress引入
import nprogress from "nprogress"
import "nprogress/nprogress.css"使用
开启进度条
nprogress.start();接受进度条
nprogress.done();定制
如果需要自定义进度条的颜色,只需要在引入的样式文件中查找并替换出现的#nprogress .bar中的
background属性。甚至你可以随意废弃它并制作自己的!

边栏推荐
- LVS+Keepalived高可用群集部署
- 进程与线程的区别与联系
- Material Design
- 在 MIT 教了大半辈子书,他学会 10 件事
- The principle and source code of redis - three common problems of caching (cache penetration, cache breakdown, cache avalanche)
- What skills does a technical director need?priority?
- unipush2.0教程
- VPC5021 Current Mode PWM Controller 3uA Ultra Low Startup Current
- Automatic processing software for geometric data topology errors based on FME
- Redis只能做缓存?太out了!
猜你喜欢

360 Enterprise Security Cloud debuts at the 2022 Global Digital Economy Conference to consolidate the digital foundation of small, medium and micro enterprises

MASA Stack 第三期社区例会

非科班AI小哥火了:他没有ML学位,却拿到DeepMind的offer
![[Image classification] 2022-RepLKNet CVPR 31x31 convolution to understand](/img/40/7b5183d51f05800dce872d031b42c3.png)
[Image classification] 2022-RepLKNet CVPR 31x31 convolution to understand

LeetCode_54_螺旋矩阵

2022 TV cup mathematical modeling - online documentation

1324_FreeRTOS队列创建函数实现分析

(一)UPF之电源网络(Supply_port、Supply_net、Supply_set)

the largest area of the island

发现一款好用到爆的数据库工具,被惊艳到了
随机推荐
Arthas use error
Assignment of major and minor device numbers for character devices
Today's thoughts
unipush2.0教程
数据库分表之雪花算法
VPC5021 Current Mode PWM Controller 3uA Ultra Low Startup Current
YOLOV5 Study Notes (6) - Optimizing Network Architecture
进程的调度
Redis principle and way of source data persistence RDB introduction and source code parsing
12 个适合做外包项目的开源后台管理系统
What skills does a technical director need?priority?
[Punctuality Atom STM32 Serial] Chapter 7 Understanding the HAL Library Excerpted from [Punctual Atom] MiniPro STM32H750 Development Guide_V1.1
牛客多校-Eezie and Pie-(倍增+树上差分)
Encapsulation of JDBCUtils tool class
900页数学论文证明旋转的黑洞不会爆炸,丘成桐:30多年来广义相对论首次重大突破...
The principle and source code of redis - introduction of client structure and source code analysis
Why do I say: curry = = closure + recursion?
The principle and source code of redis-sentinel sentinel principle and source code analysis (on)
世界上最大的开源基金会 Apache 是如何运作的?
学会Arthas,让你3年经验掌握5年功力!