Accessing the data context in the processed callback

I understand that you need to use this.data to access the data context. However, this only works if you wrap the template with {{#with}} or other wrappers. What if you have access to this data in the template through something like an iron router. Now that this template is being rendered, I need access to this data. How should I do it?

+4
source share
1 answer

I run Meteor 0.9 and it this.data.yourDataObjectNameworks fine.

+1
source

Source: https://habr.com/ru/post/1534150/


All Articles