hello guys,anybody know how to write the each syntaxe to loop through the retreved tasks and display their name field?
plees help me
-
{{#each todo}}
- {{name}} {{/each}}
hello guys,anybody know how to write the each syntaxe to loop through the retreved tasks and display their name field?
plees help me
Yes - that’s correct … assuming you have a template helper called todo
and the documents it’s retrieving have a top-level name
field.
Look at here :
https://www.meteor.com/tutorials/blaze/templates
And documentation for {{ each }}
:
thanks guys for collaboration , i solved the problem
thanks so much