4 ms·
Does this support nesting custom tags? How do I communicate between different tags? Is the opts variable accessible outside the definition of the tag?
by daemonk 12y ago
Does this support nesting custom tags? How do I communicate between different tags? Is the opts variable accessible outside the definition of the tag?
- tipiirai 12y agoUnlimited nesting is supported. You pass options with HTML attributes: <parent> <child arg={ data } /> this.data = { foo: 'bar' } </parent>
- vidarh 12y agoIs that only when defining a custom tag, or when using it as well? All the examples seems to be of nesting when defining a custom tag. If it supports it when using the tag, how do you get access to the nested content?