Knockout binding events
I am working with knockout pattern binding, I just want to know if there is a way to trigger an event after the pattern happens?
+3
Amar
source
to share
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
RP Niemeyer
source
to share