1.0.15 • Published 4 years ago

saturnus_region_selector v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

saturnus_region_selector

A region selector based on Vue2, Vuex, element UI

Install

npm i saturnus_region_selector -S

Usage

Global Registration

import Vue from 'vue'
import store from 'vuex' // you must install vuex first

import RegionSelector from 'saturnus_region_selector'
Vue.use(RegionSelector, { store })

Using the component

<region-selector
	ref="regionSelector"
	@change="changeHandler"
/>

Props

NameTypeDefaultOptionsDescription
layoutDirStringhorizontalhorizontal | vertical
labelWidthString50px
labelAlignStringright

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8081
npm run dev

# build for production with minification
npm run build

License

MIT

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.12

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago