gridjs-vue
Version:
A Vue.js wrapper component for Grid.js
57 lines (54 loc) • 863 B
text/typescript
import update from '../methods/update'
function watcher(component: any) {
return {
autoWidth() {
update(component)
},
className() {
update(component)
},
columns() {
update(component)
},
fixedHeader() {
update(component)
},
from() {
update(component)
},
height() {
update(component)
},
language() {
update(component)
},
pagination() {
update(component)
},
resizable() {
update(component)
},
rows() {
update(component)
},
search() {
update(component)
},
server() {
update(component)
},
sort() {
update(component)
},
style() {
update(component)
},
theme() {
update(component)
},
width() {
update(component)
}
}
}
export default watcher