我正在使用击倒模板绑定,我只想知道有什么方法可以在模板发生后触发事件?
发布于 2012-03-21 01:00:29
下面是可用的钩子上的文档:http://knockoutjs.com/documentation/template-binding.html#note_3_using_afterrender_afteradd_and_beforeremove
afterRender适用于任何模板,而afterAdd和beforeRemove仅在使用foreach选项时适用。
https://stackoverflow.com/questions/9789819
复制相似问题