Knockout binding events
1 answer
Here are the docs on the hooks available: http://knockoutjs.com/documentation/template-binding.html#note_3_using_afterrender_afteradd_and_beforeremove
afterRender
works for any pattern, whereas afterAdd
and beforeRemove
only apply when using a parameter foreach
.
+2
source to share