0.0.9 • Published 5 years ago

mfw-vue-comps v0.0.9

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

mfw-vue-comps

a set of components for vue projects.

Setup Components

# install dependencies
npm i mfw-vue-comps --save

Using CDLabel

CDLabel component have two properties you need to provide: time and format. Time means how many seconds for countdown. Format is a string you want to transform the countdown in to.

<template>
  <div class="page">
    <CDLabel :time="10" :format="'<span>{d}</span> <span>{h}</span>:<span>{m}</span>:<span>{s}</span>'" @over="onCDOver"></CDLabel>
  </div>
</template>

<script>
import CDLabel from 'mfw-vue-comps'
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  },
  components: {CDLabel},
  methods: {
      onCDOver () {
          alert('over')
      }
  }
}
</script>
0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

1.0.0

5 years ago