Package Exports
- @litt1e-p/progress-bar
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@litt1e-p/progress-bar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Introduce
a progress component with count up animation effect for vue
Installation
npm i @litt1e-p/progress-bar --saveUsage
- global component via
Vue.use()
// in main.js
import ProgressBar from '@litt1e-p/progress-bar'
import '@litt1e-p/progress-bar/dist/progressBar.css'
// or
@import '@litt1e-p/progress-bar/dist/progressBar.css'
<progress-bar :percent="your value"></progress-bar>- normal component in any vue component
// in any vue component file
import { ProgressBar } from '@litt1e-p/progress-bar'
import '@litt1e-p/progress-bar/dist/progressBar.css'
// or
@import '@litt1e-p/progress-bar/dist/progressBar.css'
<progress-bar :percent="your value"></progress-bar>- custom tintColor & bgColor
<progress-bar :percent="your value" tintColor="#f0ff0f" bgColor="gray"></progress-bar>Screenshots
