Skip to content

Using Scroll-Watch with ng-if #15

@bgadiel

Description

@bgadiel

Hi,
I have a big list of items to show on page in a table.
I would like to watch the scroll value of the element so I'd know which items to show/hide using ng-if.
How can evaluate the scrollable value of the table?
My code is:

<tr ng-repeat="item in displayList track by $index"
                    scroll-watch="{from: 0, to: -1}"
                    ng-if="........">

Thanks.

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