This is somewhat related to the particleExplorer discussion in #154, except instead here javascript template literals are used
displayBelowParticle
templateLiteral
<ul>
<li>${this.get("field1")}</li>
<li>${this.get("field2")}</li>
</ul>
templateLiteral scroll
ul
li ${this.get("field1")}
li ${this.get("field2")}
someParticle
field1 value1
field2 value2
The subparticles of templateLiteral (without an atom following the cue) will be expanded as a normal javascript template literal. If the first atom is scroll, then it will be called using the tagged functon scroll (i.e. scroll`<subparticles here>` ). The scroll tagged function will convert to html, I guess.
In either case, some variable (like this) above will be set to allow access to the selected particle.
This is somewhat related to the
particleExplorerdiscussion in #154, except instead here javascript template literals are usedThe subparticles of
templateLiteral(without an atom following the cue) will be expanded as a normal javascript template literal. If the first atom isscroll, then it will be called using the tagged functon scroll (i.e.scroll`<subparticles here>`). The scroll tagged function will convert to html, I guess.In either case, some variable (like
this) above will be set to allow access to the selected particle.