ractive.root

edit this page

Each component instance can access its root Ractive instance using this.root.

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

foo, bar, and baz will all have the Ractive instance with this template as their root.