Moving Element in App Structure and DOM Also Move Comment Above

Actually a just remembered that we planning to have a special “group” component. Which can also work as comment group but also will be able to group your data.

so instead of having:

<dmx-value id="apples"></dmx-value>
<dmx-value id="bananas"></dmx-value>
<dmx-value id="carrots"></dmx-value>
<dmx-value id="beans"></dmx-value>

you can have:

<dmx-group id="fruits" title="List of fruits">
  <dmx-value id="apples"></dmx-value>
  <dmx-value id="bananas"></dmx-value>
</dmx-group>
<dmx-group id="veggies"  title="List of veggies">
  <dmx-value id="carrots"></dmx-value>
  <dmx-value id="beans"></dmx-value>
</dmx-group>

this will also make them collapsable but will also change the expressions scope to be grouped as well.
So instead of having many vars as global they will be grouped now:

{{fruits.apples.value}}
{{veggies.carrots.value}}
6 Likes