# hsy-vue-dropdown

> vue dropdown component.

Latest version **0.0.5** (published 2017-03-04) · 0 weekly downloads

## Install

```sh
npm install hsy-vue-dropdown
pnpm add hsy-vue-dropdown
yarn add hsy-vue-dropdown
bun add hsy-vue-dropdown
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2017-03-04 |
| First published | 2017-02-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hsiaosiyuan0 |
| Maintainers | hsiaosiyuan0 |

## Links

- npm: https://www.npmjs.com/package/hsy-vue-dropdown
- npm.io page: https://npm.io/package/hsy-vue-dropdown

## Recent versions

- 0.0.5 (latest) — 2017-03-04
- 0.0.4 — 2017-03-04
- 0.0.3 — 2017-02-28
- 0.0.2 — 2017-02-28
- 0.0.1 — 2017-02-20

## README

# vue-dropdown

This is yet another vue dropdown component.

## Install

Use npm to download code:

```
npm install hsy-vue-dropdown -S
```

then import it into your project, add below code into your `main.js`:

```js
import Dropdown from 'hsy-vue-dropdown'

Vue.use(Dropdown)
```

## Usage

```html
<template>
  <dropdown :data="data" :cbChanged="changed"></dropdown>
</template>

<script>
const data = [{
  label: 'Volvo',
  value: 1
}, {
  label: 'Saab',
  value: 2
}, {
  label: 'Long long long long long long test',
  value: 2
}]

export default {
  data() {
    return {
      data
    }
  },
  methods: {
    changed(selected) {
      console.log(selected)
    }
  }
}
</script>
```

## Props

Coming...


## Demo

[Demo](http://vue-demo.hsiaosiyuan.com/#/dropdown)

## Screenshot

<img src="http://og9g58alt.bkt.clouddn.com/dropdown.png" width="300">

---
_Source: https://npm.io/package/hsy-vue-dropdown · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
