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

vue-dashes

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-dashes

A Vue component for creating dashes

latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

vue-dashes

Coverage Status

A Vue component for creating dashes of different sizes using SVG.

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

Keywords

vue

FAQs

Package last updated on 29 Aug 2019

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