Detect template change


#1

Is there a way to detect when a template changes due to an if or each block?


#2

The helper function you check at that if/each can call another function when it is truthy. Would that help?


#3

It’s for a package so I need something generic that works regardless of the helpers used.


#4

Depending on what you want to do, maybe _uihooks could help?

https://groups.google.com/d/msg/meteor-core/1kUoG2mcaRw/j4bNvXu36IoJ