1.0.1 • Published 5 years ago

set-column v1.0.1

Weekly downloads
8
License
-
Repository
-
Last release
5 years ago

set-column

set table columns, show or hide

Build Setup

# install dependencies
npm install set-column --save
import set-column from 'set-column'

export default {
	name: 'example',
	components: { set-column },
	data() {
		return {
			columnList: [],
			showSetColumn: false
		}
	},
	methods: {
		handleSetColumn(list) {
			
		}
	}
}
<set-column
  v-if="showSetColumn"
  :fieldList="columnList"
  @closeBox="showSetColumn=false"
  @checkedList="handleSetColumn">
</set-column>

For a detailed explanation on how things work, check out the guide and docs for vue-loader.