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

callback event for when object is in view or not #18

Closed
brianchirls opened this issue Nov 17, 2015 · 3 comments
Closed

callback event for when object is in view or not #18

brianchirls opened this issue Nov 17, 2015 · 3 comments

Comments

@brianchirls
Copy link
Contributor

lookat and lookaway events are useful but only fire when looking directly at object (or not). @simonhultgren requested events that fire whether an object is in view at all. This is a good idea.

@brianchirls
Copy link
Contributor Author

I'm gonna implement this as a boolean property on the object, not as an event, since that will be more performant.

@brianchirls
Copy link
Contributor Author

still need to document this

@brianchirls
Copy link
Contributor Author

See this live working example http://jsbin.com/pejumi/edit?js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant