diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 373e0879af..52b1828b94 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -602,6 +602,22 @@ On `` elements with `type="file"`, you can use `bind:files` to get the [` /> ``` +--- + +`bind:` can be used together with `on:` directives. The order that they are defined in determines the value of the bound variable when the event handler is called. + +``` + + + +``` + ##### Binding `