Skip to content

Commit 7a8d1b6

Browse files
author
hoanguyen
committed
🎉 🚀 release: v1.0.8
1 parent 44a9249 commit 7a8d1b6

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jambonn/vue-lazyload",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Vue module for lazy-loading images in your vue 3 applications.",
55
"main": "dist/vue-lazyload.cjs.js",
66
"module": "dist/vue-lazyload.es.js",

src/lazy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export default function Lazy() {
157157
loading: value.loading,
158158
error: value.error,
159159
cors: value.cors,
160+
bindType: binding.arg,
160161
elRenderer: this._elRenderer.bind(this),
161162
options: this.options,
162163
imageCache: this._imageCache,

src/listener.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default class ReactiveListener {
66
src,
77
error,
88
loading,
9+
bindType,
910
$parent,
1011
options,
1112
cors,
@@ -16,6 +17,7 @@ export default class ReactiveListener {
1617
this.src = src
1718
this.error = error
1819
this.loading = loading
20+
this.bindType = bindType
1921
this.attempt = 0
2022
this.cors = cors
2123

@@ -248,6 +250,7 @@ export default class ReactiveListener {
248250
this.src = null
249251
this.error = null
250252
this.loading = null
253+
this.bindType = null
251254
this.attempt = 0
252255
}
253256
}

0 commit comments

Comments
 (0)