vue-wiv

0.0.3 • Public • Published

vue-wiv · GitHub license npm version JavaScript Style Guide

Vue component for wiggly divs (wiv.js)

Initialized with the Vue CLI.

Install

npm install --save vue-wiv

Example

Example

Usage

See App.vue for an example implementation

<template>
  <div>
    <Wiv>
      <span>Default Wiv</span>
    </Wiv>
    <Wiv
      color="#4B0082"
      :height="8"
      :speed=".15"
      :thickness="2"
      :tightness="6"
    >
      <div>Slow and Wiggly</div>
    </Wiv>
    <Wiv>
      <Wiv>Wiv-ception</Wiv>
    </Wiv>
  </div>
</template>
<script>
import Wiv from 'vue-wiv'
export default {
  name: 'MyComponent',
  components: { Wiv }
}
</script>

Package Sidebar

Install

npm i vue-wiv

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

681 kB

Total Files

22

Last publish

Collaborators

  • bronhuston