v-distpicker

1.3.3 • Public • Published

Powered By Jiajian Chan

A flexible, highly available district selector for picking provinces, cities and districts of China.

V - Distpicker

Documents and Demo

[English] | 简体中文

CHANGELOG

Installation

npm install v-distpicker --save

Or

yarn add v-distpicker --save

Usage

Register component

Registe global component:

import Distpicker from 'v-distpicker'

Vue.component('v-distpicker', Distpicker)

Registe component:

import VDistpicker from 'v-distpicker'

export default {
  components: { VDistpicker }
}

How to use

Basic:

<v-distpicker></v-distpicker>

Default Value:

<v-distpicker province="广东省" city="广州市" area="海珠区"></v-distpicker>

Mobile:

<v-distpicker type="mobile"></v-distpicker>

Contributors


jcc


lyh2668


wwhwwhwwh


kent666a


Milogenius


xu8117


tcsiye


iyangsheng


liushuai05


Aufree

Thanks

License

The plugin is open-sourced software licensed under the MIT license.

Package Sidebar

Install

npm i v-distpicker

Weekly Downloads

1,092

Version

1.3.3

License

MIT

Unpacked Size

477 kB

Total Files

16

Last publish

Collaborators

  • jcc