v-distpicker

:sparkles: A flexible, highly available district picker for picking provinces, cities and districts of China.

Github stars Tracking Chart

V - Distpicker

Here is documents

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

Thanks

License

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

Main metrics

Overview
Name With Ownerjcc/v-distpicker
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2017-03-17 08:02:46
Pushed At2023-12-01 10:21:58
Last Commit At2023-12-01 18:20:15
Release Count57
Last Release Namev2.1.0 (Posted on )
First Release Namev0.1.1 (Posted on 2017-03-17 16:44:18)
用户参与
Stargazers Count1k
Watchers Count25
Fork Count235
Commits Count236
Has Issues Enabled
Issues Count140
Issue Open Count10
Pull Requests Count36
Pull Requests Open Count1
Pull Requests Close Count10
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private