Alerts

Remember that each section adds overhead to the final document as it’s actually being rendered by the browser.

It’s better to add comments in code. Yeah I know they are not being displayed in the App Structure panel. I remember there was a request to be able to add a special html comment that was shown as a node in the panel.

Something like

<!--Wappler my-variables-->
<dmx-value id="var1"></dmx-value>
<dmx-value id="var2"></dmx-value>
...
<!--EndWappler my-variables-->

This would show a node in App Structure called My Variables or similar with your variables in it so could organize the panel and code without adding the overhead of a section or another type of html element.

4 Likes