changes
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Design source files
|
||||
|
||||
One file per screen, exported from the design canvas. They are HTML with a small template layer, **not** runnable app code:
|
||||
|
||||
- `{{ path }}`: value from the `renderVals()` method of the `Component` class at the bottom of each file.
|
||||
- `<sc-for list="{{items}}" as="item">`: repeat. `<sc-if value="{{flag}}">`: conditional.
|
||||
- `onClick="{{handler}}"`: event binding. `data-props` on the script tag: design-time tweak defaults (e.g. accent colour).
|
||||
- `<a href="Other.dc.html">`: navigation between screens in the prototype.
|
||||
|
||||
Use them for exact sizes, spacing, colours and copy. The PNGs in `../screens` show the rendered result. `renderVals()` contains the sample data and the small chart geometry (profile and panorama paths) that the real app computes in the core.
|
||||
Reference in New Issue
Block a user