Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Is there a way to Programmatically make a div offScreen and trigger "doOut"? #18

Closed
1manStartup opened this issue Aug 30, 2014 · 1 comment

Comments

@1manStartup
Copy link

For example lets say I have a div that the plugin says is onScreen (example: div#main) which itself contains a list of items.

I notice in two instances... for example if I cover the div#main with another div making div#main "offScreen" and if I replace div#main with another div via backbonejs or jquery .show, it does not trigger "offScreen" state or "doOut".

So my question is if we can programmatically give a div ".offScreen" screen state and thus triggering "doOut".

It would be a nice feature to have, also thanks for this solid library.

@silvestreh
Copy link
Owner

I'm closing this issue as there's a new version of OnScreen with a completely different codebase. If I understand correctly, the new version will handle mutations to the DOM and taking care of things.

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

No branches or pull requests

2 participants