1.1.3 • Published 5 years ago

vue-dashes v1.1.3

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

image

Installation

npm install --save vue-dashes

How to use

Include the plugin in your main.js file.

import VueDashes from 'vue-dashes'

Vue.use(VueDashes)

Then use the component

<vue-dashes
  color="papayawhip"
  :num-dashes="5"
  :dash-height="6"
  :dash-length="3"
  :space-length="2"
/>

Properties

NameRequiredTypeDefaultDescription
colorfalseString'#000'hex code or HTML color name of the dashes
numDashesfalseNumber10number of dashes
dashHeightfalseNumber1the height of the dashes
dashLengthfalseNumber1the length of the dashes
spaceLengthfalseNumber1the length of the spaces between dashes

Contributing

Pull requests are welcomed and encouraged!

To develop locally:

npm start

Make sure linting passes and unit tests are added or updated before submitting your pull request:

npm run lint
npm run test:watch
1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago