At https://jsfiddle.net/oko05cv7/, I'm trying to be able to render a table correctly, but a div is being added. Why would it create two layers? I'd assume the tag='tr' would be the tagName on the CollectionView.
A second thing I notice is that, if you were to omit a tag in collection, the collection view contents won't render. I would expect it to work and either be a div (or inherit the tagName set in item-View, which would be tr in this example: https://jsfiddle.net/5yc8s84q/)
I eventually was able to reconfigure it to work https://jsfiddle.net/zxyheohu/, is that how you'd do it? What would be the equivalent of this with a CollectionView? If this does work, are you ok if we add it as an example in the README/docs somewhere?
I looked into collection-element however the documentation / examples on that are minimal. Would a collection-element play a role in 3?
Some of this behavior was throwing me off. This is using Thorax 2.3.5.
Related:
tag='tr'
would be thetagName
on the CollectionView.tag
in collection, the collection view contents won't render. I would expect it to work and either be adiv
(or inherit thetagName
set initem-View
, which would betr
in this example: https://jsfiddle.net/5yc8s84q/)I looked into
collection-element
however the documentation / examples on that are minimal. Would acollection-element
play a role in 3?