Skip to content

Commit

Permalink
fix: issue#130
Browse files Browse the repository at this point in the history
  • Loading branch information
hilongjw committed Mar 19, 2017
1 parent 459be0a commit c431e73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-lazyload",
"version": "1.0.0",
"version": "1.0.1",
"description": "Vue module for lazy-loading images in your vue.js applications.",
"main": "vue-lazyload.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/lazy-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default (lazy) => {
},
load () {
this.show = true
this.state.loaded = true
this.$emit('show', this)
}
}
Expand Down
Loading

0 comments on commit c431e73

Please sign in to comment.