diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index ca8e22feaa..1efa696f28 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -330,7 +330,7 @@ If the `on:` directive is used without a value, the component will *forward* the --- -Components can emit events using [createEventDispatcher](#docs/createEventDispatcher), or by forwarding DOM events. Listening for component events looks the same as listening for DOM events: +Components can emit events using [createEventDispatcher](docs#createeventdispatcher), or by forwarding DOM events. Listening for component events looks the same as listening for DOM events: ```html @@ -340,7 +340,9 @@ Components can emit events using [createEventDispatcher](#docs/createEventDispat ### Element bindings -* `bind:property={value}` +* `bind:property={variable}` +* `bind:group={variable}` +* `bind:this={dom_node}` --- @@ -374,6 +376,8 @@ Numeric input values are coerced; even though `input.value` is a string as far a ``` +#### Binding related elements + --- Inputs that work together can use `bind:group`. @@ -396,6 +400,8 @@ Inputs that work together can use `bind:group`. ``` +#### Binding `` value binding corresponds to the `value` property on the selected `