LongLink Runtime Concepts
Bindings
Definition
Connects writable control values to State objects declared in the XML runtime.
Usage
Use bindings when form controls need to edit local page state before an Action sends data.
Rules
value="$state.path"required. Binds a control value to a State object field.safe names. State ids and path segments must be safe property names.unbound values. Literal and computed values render as local control state only.
Example
xml<State id="form" name="" active="true" /><TextInput label="Name" value="$form.name" /><Switch label="Active" value="$form.active" />