Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
<h3>Lazy load element 2s </h3>
<div class="block" v-lazy="2000">a div element [v-lazy="2000"]</div>
<h3>Lazy load component 3 second</h3>
<block v-lazy="3000">a component [v-lazy="3000"]</block>
<block v-lazy.no-animation="3000">a component [v-lazy="3000"]</block>
</div>
</template>

Expand Down
2 changes: 1 addition & 1 deletion dev/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dev/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-lazy-component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/vue-lazy-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function install (Vue, options = {}) {
this.factory = new FragmentFactory(this.vm, this.el);
}
this.frag = this.factory.create(this._host, this._scope, this._frag);
this.frag.before(this.anchor);
this.frag.before(this.anchor, !this.modifiers['no-animation']); //multiBefore(target, withTransition)
},
// update v-ref
updateRef () {
Expand Down