1.0.7 • Published 6 years ago

vutton v1.0.7

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

Vuejs SVG Animation Button

Install

npm install --save vutton

Usage

import Vutton from 'vutton'

export default {
  components: {
    Vutton
  }
}
 <Vutton 
  :width="300" 
  :height="80"
  :strokeWidth="5"
  :strokeDash="250"
  strokeColorDefault="#42b983"
  strokeColorAni="#51e0a0"
  :duration="2"
  >
  <div>hover it!</div>
</Vutton>

Attribute

PropsDescriptionTypeDefault
widthbutton widthNumber200 (px)
heightbutton heightNumber60 (px)
strokeWidthborder line thickNumber5
strokeDashborder lengthNumber200
strokeColorDefaultdefault status colorString#42b983
strokeColorAnihover status colorString#42b983
duration1 time animation durationNumber1 (s)

Slot

NameDescription
-text content of button
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago