项目文件夹

文件
2026-07-13 12:29:49 +08:00

16 行
622 B
Plaintext

<!-- The notes view: sidebar of note titles, editor over the selected body.
Markup binds the core's emitted snake_case names and helpers; validate
with: native check -->
<row gap="12" padding="16" grow="1">
<column gap="4" width="180">
<text size="heading">Notes</text>
<for each="notes" as="n" key="id">
<list-item on-press="select:{n.id}" selected="{n.id == selected_id}">{n.title}</list-item>
</for>
</column>
<column gap="8" grow="1">
<text size="heading">{selected_title}</text>
<textarea text="{editor_text}" on-input="edit" grow="1" label="Note body" />
</column>
</row>