1.3.0 • Published 6 years ago

vue-step v1.3.0

Weekly downloads
150
License
MIT
Repository
github
Last release
6 years ago

vue-step

基于Vue.js的移动端步骤导航组件 Mobile Step Navigation Component Based On Vue.js

NPM

Installation

npm i vue-step -S

API

ParamDescriptionTypeDefault
now-stepThe current step, The starting value is 1.Number-
step-listName of all stepsArray-
active-colorActive status colorString'#1fb11d'
style-typeYou can set 'style1' or 'style2'String'style1'
directionYou can set 'horizontal' or 'vertical'String'horizontal'
@selectedEvent issued when an item is selected / clickedEvent-

Usage

# example
<template>
  <div id="app">
    <vue-step :now-step="nowStep" :step-list="stepList"></vue-step>
  </div>
</template>

<script>
import vueStep from 'vue-step'

export default {
  name: 'app',
  data () {
    return {
      nowStep: 2,
      stepList: [
        'First Step',
        'Second Step',
        'Third Step',
        'Four Step'
      ]
    }
  },
  components: {
    vueStep
  }
}
</script>

Demo Screenshot

Demo Screenshot

License

MIT

1.3.0

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago