sproutcore/sproutcore20 — pull request #194 by wagenet (2011-10-31 17:52:38+00:00)
Title: Add support for isVisibleInWindow

This adds support for a new view property called `isVisibleInWindow`. This would ideally tell when a view is actually visible vs just saying when you want it to be visible. i.e. a child view might have `isVisible: true` while the parent has `isVisible: false`. In this case, the child would have `isVisibleInWindow: false`.

There are two reasons to be hesitant about integrating this. One, it's another property and it's nice to keep things lean. Two, the method of checking visibility is not entirely reliable. Also, what happens if someone changes visibility without going through the standard SC methods? i.e. `$('view-div').hide()`

For that reason, I'm opening this up to discussion.