ractive.root
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
.
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
.