Some help with data contexts


#1

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}”


#2

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


#3

mm, you sure ? will try . tnx


#4