API reference / Common / Engine types / TextBindingChoiceBlock
Interface: TextBindingChoiceBlock
A choice around whole paragraphs, and the tables among them: its options and its otherwise, and nothing else. The span level is TextBindingChoiceSpan.
A template's choice holds every option and its otherwise where it has one; an instance's holds only what its value picked — the option kept for it, or else its otherwise, an empty one where the template has none — and keeps the template's whole in its kept. A TextMarkup container: its blocks live in the parent story's offset space, it contributes no characters, and the CRDT carries it as a mark over the characters its blocks realize, snapped to whole blocks at decode. See the Automation Binding and Text Model design docs.
Properties
| Property | Description |
|---|---|
bindingTextBindingChoice | Which choice it is, and what it binds. |
options?TextBindingOptionBlock[] | Its options, in order. |
otherwise?TextBindingOtherwiseBlock | Its otherwise, after its options, where it has one. Never empty together with options: a choice holds an option or its otherwise. |