I have some local helpers I am passing into the link method. One of the helpers is a filter function that depends on a helper variable. How do I access the local helpers so I can set the filter depends on the variable? I'm guessing I need to access the specific view after the link is done and then set the depends. Not sure how to access those local helpers though (as in myHelpers) directly after the link call is done.
In laymans terms I'm looking for something like:
tmpl.view.helpers.myHelpersFilter.depends = '~myHelpersParam'

UPDATED:
A simple approach is to set the depends directly on the filter function,
myHelpersParam, before passing it into thetmpl.link()call:Alternatively, a more flexible and sophisticated approach is to add an
onBindevent to the tag which is doing the filtering:and set the
dependson the filter in that event handler: