1.0.4 • Published 2 years ago

s-stepper-vue v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

s-stepper-vue

license vue 2 npm npm

A beautiful stepper made with VueJS s-stepper-vue

Installation

Using yarn

yarn add s-stepper-vue

Using npm

npm i --save s-stepper-vue

Usage

ES6 Modules / CommonJS

import {SStepper} from 's-stepper-vue';
Vue.component('S-stepper', SStepper);
<SStepper v-model="step" steps="steps" />
export default {
  data(){
    return{
        steps: [
            {title: 'step one'},
            {title: 'step tow'},
            {title: 'step three'}
        ],
        step: 1
    }
  }
}

Props API

PropsTypeRequiredDefault
v-modelInttrue1
stepsArray<object>truenull
colorString HEXno#E30A17
heightintno15
backgroundColorString HEXno#F8F8F8

(1) Ex : 1,2 .. it is step number

(2) Ex :

steps: [
    {title: 'step one'},
    {title: 'step tow'},
    {title: 'step three'}
]

title is required.

Contribution

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

License

This project is licensed under MIT License


@Vuango Simply Learn

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago