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

Early bail out #26

Closed
fsmanuel opened this issue Jun 3, 2015 · 2 comments
Closed

Early bail out #26

fsmanuel opened this issue Jun 3, 2015 · 2 comments

Comments

@fsmanuel
Copy link

fsmanuel commented Jun 3, 2015

@poteto is there a easy way to prevent the mixin from beeing initialized? Lets say i set viewportEntered = true and _setupElement would bail out immediately. That would be great for ember-lazy-image when the image is already in cache and would save a lot of performance.

@poteto
Copy link
Collaborator

poteto commented Jun 4, 2015

Hey @fsmanuel, yup that can definitely be done. Sorry I got back to you so late! Would you like to submit a PR for this? :)

@kellyselden
Copy link
Collaborator

Solved by #87.

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

No branches or pull requests

3 participants