Commit ee27c194 authored by christianrhansen's avatar christianrhansen

changed attribute-name

parent 40af9c8b
......@@ -16,10 +16,10 @@
let target = entries[0]
if (!target.isIntersecting) {
this.$emit('onIntersectionChange', {element: this.element, offset: target.boundingClientRect.left})
this.$emit('onIntersectionChange', {element: this.element, offsetLeft: target.boundingClientRect.left})
}
else {
this.$emit('onIntersectionChange', {element: this.element, offset: undefined})
this.$emit('onIntersectionChange', {element: this.element, offsetLeft: undefined})
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment