You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: