Skip to content

NoteContent

A few lines of text: a note, a scratchpad, a summary to read. Line breaks are kept. At most MAX_NOTE_CHARS characters are kept.

optional editable?: boolean

The person can write in it from the notch, opened or in its card. A pause in typing, and leaving it, sends the whole text back to onAction as NOTE.edit, the text as input; your next update should carry it. While they’re typing, the notch keeps what they typed. Quick Add’s lines arrive the same way: the whole text, with the new line on top.


optional placeholder?: string

What an empty note says, "Write something".


text: string