1.0.15 • Published 5 years ago

saturnus_region_selector v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
5 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

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.12

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago