Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set $apply execution as optional parameter #300

Conversation

miguelangelmunoz
Copy link

The intention is to have an option to manage when angular digest is executed. This is for performance purposes.
In our application we use this library having tons of bindings so a digest flow can take long. Would be nice to have the possibility to execute digest wherever and whenever we want.

We have created a branch adding a new parameter where you can set avoiding the explicit call on $apply().

@miguelangelmunoz miguelangelmunoz changed the title Set $apply execution as optional parameter #299 Set $apply execution as optional parameter Jul 22, 2016
@graingert
Copy link
Collaborator

I don't think it's a good idea to expose this sort of interface. I think this should always call $apply().

Also IMHOP ngInfiniteScroll is in permanent feature freeze / maintenance mode and people should be using https://material.angularjs.org/latest/demo/virtualRepeat or waiting for angular/components#823

@graingert graingert closed this Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants