ractive.parent

edit this page

Each component instance can access its parent using this.parent.

<foo>
  <bar>
    <baz />
  </bar>
</foo>

baz's parent is the bar instance, and bar's parent is the foo instance.