Is there any way to detect when the {{>Template.dynamic template=content}}
changes and then run some functions ?
Do you want to run a callback when the template changes (different template) or if the template gets updated (stays the same, template data changes)?
If you want to run a callback (function) when the template changes, just simply include it in the Template.onRendered/onCreated
callback.
1 Like