Open TamerZorba opened 7 years ago
Try this way
<RecyclerView
:options="options"
></RecyclerView>
data () {
return {
options: {
props: {
$parent: this
}
}
}
}
i think its not working, i couldn't find any related data inside item object, can you plz describe how to access $parent from (Item) scope.
I'am trying to access methods defined on the main component, is it missing or it just the documentation is not completed !!
this should help with global methods for all items.