Skip to content

API reference / Common / Engine types / TextBindingChoice

Interface: TextBindingChoice ​

A choice in text, {{#choose fund.rating}}: its id and what it binds, minus the content it holds. The TextMarkup a TextBindingChoiceSpan or TextBindingChoiceBlock carries, and what the CRDT keeps of it; the node holding it says the level.

Properties ​

PropertyDescription
id
string
Stable model id — what the co-editing payload map is keyed by.
binding
BindingChoice
-
kept?
TextFragment
What an instance keeps to fill it again: the template's choice whole, every option in it, binding places and all. None in a template, which holds that content itself. On the binding place, so that a binding place copied takes it along; a file keeps it in the automation part, by the binding place's id (see the Automation design doc's "What an instance keeps").