We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
itemprop
itemprops
1 parent b313a0f commit 5af33efCopy full SHA for 5af33ef
index.js
@@ -51,7 +51,7 @@
51
onscroll: Function,
52
item: { type: Object },
53
itemcount: { type: Number },
54
- itemprop: { type: Function }
+ itemprops: { type: Function }
55
},
56
57
created: function () {
@@ -370,7 +370,9 @@
370
var targets = []
371
for (var i = delta.start; i <= Math.ceil(delta.end); i++) {
372
// create vnode, using custom attrs binder.
373
- var slot = this.item ? this.$createElement(this.item, this.itemprop(i)) : slots[i]
+ var slot = this.item && this.itemprops
374
+ ? this.$createElement(this.item, this.itemprops(i))
375
+ : slots[i]
376
targets.push(slot)
377
}
378
0 commit comments