Skip to content

Slot spinner not hide #22

Closed
Closed
@mits87

Description

@mits87

Hi,

I use Vue-infinite-loading v.2.0.0-rc.1 and I have problem.
When I add new slot:

<span slot="spinner">
  <b>Loading...</b>
</span>

and conditions will be true:

if (this.items.length === total) {
   this.$refs.infiniteLoading.$emit('$InfiniteLoading:complete');
}

then my loader won't hide.
But when I don't use my own slot spinner then all works fine.
Could you fix it?

Best Regards
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions