Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在模板中有一个带有占位符的指令( {{ }} )。我需要在评估占位符后触发一个函数。有什么办法吗?
谢谢
是这样的吗:
scope.$watch('binded_var', function(){ // Do stuff here });