# select-car-no

> a license plate number selection vuejs plugin

Latest version **1.1.3** (published 2018-09-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install select-car-no
pnpm add select-car-no
yarn add select-car-no
bun add select-car-no
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2018-09-18 |
| First published | 2018-09-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 988.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 1095684842@qq.com |
| Maintainers | ruoqiang |
| Keywords | vue-select-car-no, select-car-no, select-car-number |

## Links

- npm: https://www.npmjs.com/package/select-car-no
- npm.io page: https://npm.io/package/select-car-no

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2018-09-18
- 1.1.2 — 2018-09-18
- 1.1.1 — 2018-09-18
- 1.1.0 — 2018-09-18
- 1.0.9 — 2018-09-18
- 1.0.8 — 2018-09-18
- 1.0.7 — 2018-09-18
- 1.0.6 — 2018-09-18
- 1.0.5 — 2018-09-18
- 1.0.4 — 2018-09-18
- 1.0.3 — 2018-09-18
- 1.0.2 — 2018-09-17
- 1.0.1 — 2018-09-17
- 1.0.0 — 2018-09-17

## README

# select-car-no
> a vue car-no select plugin ---基于vue项目的移动端车牌号选择插件

### 动态图演示
![演示动图](https://raw.githubusercontent.com/ruoqiang/my-wechat2/master/src/lib/select-car-no/lib/images/select-car-no.gif)


## install plugin
``` bash
npm install select-car-no
```

## import plugin in main.js
``` bash
import Vue from 'vue'
import selectCarNo from 'select-car-no'
Vue.use(selectCarNo)
```
## base use

``` bash
<select-car-no ref="carSelectNo" @selectedValue="selectedCarValue" :defaultValue="['京', 'A']"></select-car-no>

```
### API

| 参数 | 说明 | 类型 | 默认值 |
| - | :- | :- | :-: |
|defaultValue	|默认显示选择的号码|	Array	| - |
|ref	|获取当前插件实例|	String	|-|

### Event

| 事件名 | 说明 | 参数 |
| - | :- | :-: |
| selectedValue | 选择车牌时的回调函数 | - |

### 用法示例
```bash
###显示选择面板
this.$refs.carSelectNo.show()
###隐藏选择面板
this.$refs.carSelectNo.hide()
###选择车牌时事件
selectedCarValue(val) {
  this.carno = val
  console.log(val.join(',')) //打印出选择的车牌号
}
```

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