0.0.7 • Published 8 years ago

vuey v0.0.7

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

vuey

personal collection of components

Usage

Currently there is only the ripple directive availaible.

ripple directive

You can check the specification here. First of all include the plugin.

import Vue from 'vue'
import vuey from 'vuey'

Vue.use(vuey)

And add the stylesheet

<link rel="stylesheet" type="text/css" id="vuey" href="node_modules/vuey/dist/vuey.min.css">

Now the directive is ready to use with its default values

<template>
<button v-ripple></button>
</template>

Or you can customize any of the default options availaibles

<template>
<button></button>
</template>
<script>
export default {
  ripple: {
    color: '#e3e3e3',
    speed: 2
  }
}
</script>

Those options will modify all the ripple directives, you can use modifiers for specific animations on specific elements

<template>
<button v-ripple.blue></button>
</template>

Contribution

  • Fork it !
  • Create your top branch from dev: git branch my-new-topic origin/dev
  • Commit your changes: git commit -am 'Add some topic'
  • Push to the branch: git push origin my-new-topic
  • Submit a pull request to dev branch of YerkoPalma/vuey repository !

License

MIT

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.1

8 years ago