1.0.5 • Published 6 years ago

vue-ease-step1 v1.0.5

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

steps fit PC and mobile

Setup

npm i vue-ease-step --save

Usage

# example
import vueEaseStep from 'vue-ease-step1'
Vue.use(vueEaseStep)

<template>
  <div id="app">
    <steps :step-index="nowStep">
      <step title="xxx" notify="xxx"></step>
      <step title="xxx" icon="step-icon-thumb_down"></step>
      <step title="xxx"></step>
    </steps>
  </div>
</template>

<script>
export default {
  name: 'app',
  data () {
    return {
      nowStep: 1,
    }
  }
}
</script>

API

ParamDescriptionTypeDefault
step-indexThe current step, The starting value is 0.Number-
notifyDisplayed when the mouse hoverString-
iconStep iconsStringstep-icon-check_circle
simpleSimple version--
directionArrange directionStringhorizontal
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago