
# vue-ins-progress-bar
[](https://revolunet.mit-license.org/) [](https://www.npmjs.com/package/vue-ins-progress-bar) [](https://www.npmjs.com/package/vue-ins-progress-bar) [](https://github.com/muzishuiji/vue-ins-progress-bar/tree/master/types/index.d.ts)
`a vue component of ins-style progress bar`
`一款 ins 风格的 vue 进度条组件`
## Demo
[Live Demo](https://muzishuiji.github.io/vue-ins-progress-bar/)
## Install
```shell
$ npm i vue-ins-progress-bar
```
## Usage
`main.js`
```JavaScript
import VueInsProgressBar from 'vue-ins-progress-bar'
const options = {
position: 'fixed',
show: true,
height: '3px'
}
Vue.use(VueInsProgressBar, options)
```
`App.vue`
```vue
```
## APIs
```JavaScript
this.$insProgress.start() // start the loading
```
```JavaScript
this.$insProgress.finish() // finish the loading
```
```JavaScript
this.$insProgress.height(4) // resize the height of loading bar to 4px
```
## Browsers Support
`Modern browsers and Internet Explorer 9+ (IE9 purple)`
## Source
Repository: [vue-ins-progress-bar](https://github.com/muzishuiji/vue-ins-progress-bar)
Contributors: [contributors](https://github.com/muzishuiji/vue-ins-progress-bar/graphs/contributors)
Author: [muzishuiji](https://github.com/muzishuiji)
## Popularity
[](https://www.npmjs.com/package/vue-ins-progress-bar)
## ChangeLog
Documented in [Releases](https://github.com/muzishuiji/vue-ins-progress-bar/releases)
## License
[MIT](https://opensource.org/licenses/MIT)