New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vue-directive-waves

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-directive-waves

Use the wave effect in vue2.

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

vue-directive-waves

Use the wave effect in Vue2. Based on Waves.

Vue1.x see the 1.0 Tag.

Install

npm install vue-directive-waves --save

Example

Add directive in the template.

<template>
    <button v-waves></button>
</template>

References in the script.

var Vue = require('vue');
var Waves = require('vue-directive-waves');

Vue.use(Waves);

Modifiers

Default modifiers is v-waves.block.

<button v-waves.button></button>
<button v-waves.button.float></button>
<button v-waves.button.light></button>

<span v-waves.circle></span>
<span v-waves.circle.float></span>
<span v-waves.circle.light></span>

<div v-waves.block></div>
<div v-waves.block.float></div>

Config

Same as Waves.

Vue.use(Waves, {
    duration: 500,
    delay: 200
});

License

MIT

Keywords

vue

FAQs

Package last updated on 08 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts