New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

docsify-progress

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docsify-progress

Progress bar plugin for docsify

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

docsify-progress


docsify-progress

jsdelivr

docsify之阅读进度条插件 Progress bar plugin for docsify

Usage

添加依赖 Add script

<script src="https://cdn.jsdelivr.net/npm/docsify-progress@latest/dist/progress.min.js"></script>

添加配置 Add settings

window.$docsify = {
    progress: {
        position: "top",
        color: "var(--theme-color,#42b983)",
        height: "3px",
    }
}
属性名Attribute类型Type解释Description可选值Value
positionstring设置进度条展示的位置 Set where the progress bar displayed'top' (默认值Default) / 'bottom'
colorstring设置进度条颜色 Set color for the plugin'var(--theme-color,#42b983)'
heightstring设置进度条高度 Set height for the plugin'3px'

Keywords

progress

FAQs

Package last updated on 21 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts