3.1.0 • Published 2 years ago

@banyinbanying/city-table v3.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

city-table

how to use (vue3.0)

yarn add @banyinbanying/city-table or npm i @banyinbanying/city-table 

how to use (vue2.0)

yarn add @banyinbanying/city-table@1.0.5 or npm i @banyinbanying/city-table@1.0.5

then you add this two line in vue main.js

import CityTable from "@banyinbanying/city-table@1.0.5"
Vue.use(CityTable);
////vue3.0
import CityTable from "@banyinbanying/city-table"
const app = createApp(App);
app.use(CityTable);
app.mount("#app");

after you can use it in component like this

<template>
  <div id="app">
    <cityTable></cityTable>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style></style>

the code and the demo in github

github.

示例图片

image

Props

The component provides the following variables

NameTypeDefault ValueDescription
dataArraytree-
paddingNumber5px-
fontSizeString14px-
theadColorString#777777-
tbodyColorString#999999-

Matching selection components(Multiple-city-react)示范图片

image

the code and the demo of Multiple-city-react

github.

3.1.0

2 years ago

3.0.0

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago