@marshal93/vc-car-license

0.1.5 • Public • Published

CarLicense

车牌号录入 vue2.x 组件

INSTALL

npm i @marshal93/vc-car-license -S

Usage

import Vue from 'vue';
import VcCarLicense from '@marshal93/vc-car-license';

// 挂载到全局组件
Vue.use(VcCarLicense)

// 获取省份 + 车牌号
const getValue = this.$refs.carLicenseRef.getValue()

<VcCarLicense
  provinceNameProps=""
  carNumberProps=""
  placeholder="请选择"
  ref='carLicenseRef'
  closeButtonText='关闭'
  isDisabled='false'
/>

API

属性 说明 是否必填 数据类型类型 默认值
provinceNameProps 车牌省名称 false string ''
carNumberProps 车牌数字部分 false string ''
placeholder placeholder false string ''
closeButtonText 右上角关闭按钮文案 false string '关闭'
isDisabled 是否不可点击 false boolean false

Readme

Keywords

Package Sidebar

Install

npm i @marshal93/vc-car-license

Weekly Downloads

3

Version

0.1.5

License

ISC

Unpacked Size

24.2 kB

Total Files

4

Last publish

Collaborators

  • marshal93