SteveSanderson/knockout — pull request #370 by pegler (2012-03-07 21:48:50+00:00)
Title: afterChange

Adding an afterChange event to observables.

Use Case: In my project, I have a DIV that is sometimes visible, and sometimes not depending on an observable. I want to set the max-height attribute of this DIV, but this can only be calculated when the DIV is visible. If I use a normal subscription, there is no guarantee the DIV is visible when the subscription is fired. By subscribing to afterChange, everything works as it should.