DocsFQL syntax reference
On this page

Event bindings reference

Look up event source syntax and multiple input sources.

Before you begin: Live state reference.

Event Source Syntax

text

Examples:

SourceValue
#name.oninput.target.valueInput value.
#terms.onchange.target.checkedCheckbox checked state.
#avatar.onchange.target.files[0]First selected file.
#form.onsubmit.handleSubmit()Return value of handleSubmit(event).

Multiple Sources

FQL state configuration

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.