From 488edb00ad463346eb3d050631afbfc0524a403e Mon Sep 17 00:00:00 2001 From: gtmnayan <50981692+gtm-nayan@users.noreply.github.com> Date: Wed, 18 May 2022 07:58:05 +0545 Subject: [PATCH] [docs] Fix statement about the order of bind: and on: (#7357) * Fix statement about order of bind: and on: * It's just an example * Revert and modify * Update site/content/docs/02-template-syntax.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> * Update site/content/docs/02-template-syntax.md Co-authored-by: Tan Li Hau Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- site/content/docs/02-template-syntax.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index a17314f27f..ac49fb23c5 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -627,7 +627,7 @@ 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. +If you're using `bind:` directives together with `on:` directives, the order that they're defined in affects the value of the bound variable when the event handler is called. ```sv