Skip to content

Commit cc0695e

Browse files
author
Kenneth Cheng
committed
Fix the prop warning
1 parent 20b1bb2 commit cc0695e

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue3-excel-editor",
33
"email": "apple.6502@gmail.com",
44
"description": "Vue3 plugin for displaying and editing the array-of-object in Excel style",
5-
"version": "1.0.39",
5+
"version": "1.0.40",
66
"main": "src/main.js",
77
"dependencies": {
88
"@vuepic/vue-datepicker": "^3.3.0",

src/VueExcelFilter.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66
ondragenter="event.preventDefault(); event.dataTransfer.dropEffect = 'none'"
77
ondragover="event.preventDefault(); event.dataTransfer.dropEffect = 'none'"
88
class="cell column-filter"
9-
:style="filterRowTop"
9+
:class="class"
10+
style="filterRowTop"
11+
:style="style"
1012
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
1113
tabindex="-1"
1214
v-on="listeners"
15+
:colspan="colspan"
1316
@focus="onFocus"
1417
@blur="onBlur"
1518
@keydown.left.exact="keyWest"
@@ -24,7 +27,10 @@
2427
export default {
2528
props: {
2629
modelValue: {type: String, default: ''},
27-
interactive: {type: Boolean, default: false}
30+
interactive: {type: Boolean, default: false},
31+
colspan: {type: [String, Number], default: 1},
32+
class: {type: [String, Object], default: null},
33+
style: {type: [String, Object], default: null}
2834
},
2935
data () {
3036
return {

0 commit comments

Comments
 (0)