I am trying to use webc:root to add an attribute to the host component of a layout. For instance, in the following example I would like to add class="some-class" to body in the host layout:
Conceptually, this seems very similar to the documented purpose of webc:root. Maybe there is a way to make this work already now? Otherwise, this might be a useful feature to support.
I am trying to use
webc:root
to add an attribute to the host component of a layout. For instance, in the following example I would like to addclass="some-class"
tobody
in the host layout:_include/base.webc
:page.webc
:Conceptually, this seems very similar to the documented purpose of
webc:root
. Maybe there is a way to make this work already now? Otherwise, this might be a useful feature to support.