vue-step-indicator
A Simple step indicator for Vue.js.
Install
CDN: UNPKG | jsDelivr(available as window.StepIndicator
)
Usage
API
Props
Prop | Type | Default | Description |
---|---|---|---|
current | number | (Required) | Index of current step |
total | number | (Required) | Total steps |
currentColor | string | 'rgb(68, 0, 204)' |
Color of current step |
defaultColor | string | 'rgb(130, 140, 153)' |
Default color of each step |
handleClick | function |
Triggered when an indicator is clicked |