Skip to content

Pass arguments for the on-infinite function #75

Closed
@vlahde

Description

@vlahde

Hello, I have a page that includes a few smaller lists of movies. I ran into a problem when trying to implement on-infinite callback function:

This throws "TypeError: Cannot read property 'call' of undefined":
<infinite-loading :on-infinite="getMicroList('releases')" ref="releases" spinner="circles">

while this is ok:
<infinite-loading :on-infinite="getMicroList" ref="releases" spinner="circles">

Are multiple lists even possible on the same page without having to copy all the callback function code over and over again?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions