On this page
Event bindings reference
Look up event source syntax and multiple input sources.
Before you begin: Live state reference.
Event Source Syntax
Examples:
| Source | Value |
|---|---|
#name.oninput.target.value | Input value. |
#terms.onchange.target.checked | Checkbox checked state. |
#avatar.onchange.target.files[0] | First selected file. |
#form.onsubmit.handleSubmit() | Return value of handleSubmit(event). |
Multiple Sources
Add this configuration inside your page’s {STATE} declaration. Inspect state shows its configuration; live queries and saved data run against your local site. Try a complete FQL page →
Use commas for multiple event sources for the same state key.
Continue with Expressions reference.