Some help with data contexts

In a Page I have
{{> songs_list numbered=true}}
in the songs_list I have
{{>song_item position="1."}}

{Template.song_item.helpers({
    'position' () {
        console.log(Template.instance().parentData(1))
  
    }
})

I get undefined, I expect to see “{numbered :true}”

Template.parentData(), not Template.instance().parentData()

2 Likes

mm, you sure ? will try . tnx

1 Like