Notify
A simple button that displays progress. Compatible with Vue 2.x
Install
$ npm install vue-progress-button --save
Usage
Inside your component:
To get the most basic version of a progress button
The progress can be configured with another filling color. Simply add the fill-color property to the progress button element and give a color to it.
The progress also be modified in terms of duration of the progress, position of the progress line
Configuration options
Option | Type | Default | Description |
---|---|---|---|
fillColor | String | '#555' | The color of the progress bar filling the button |
duration | Number | 2000 | The duration of the progress bar filling the entire button in milliseconds |
height | Number | 100 | The height of the progress bar in px |
position | String | 'fill' | The position of the progress bar in the button, currently possible: top, bottom. Defaults to fill that fills the entire button |