From a1a64ae794ef9bd80148b789c67092f92df15b2c Mon Sep 17 00:00:00 2001 From: Luca Bonavita Date: Sun, 7 Apr 2019 21:18:40 +0100 Subject: [PATCH] Add more level 4 headings, fixes some typos --- site/content/docs/02-template-syntax.md | 41 +++++++-- site/content/docs/03-run-time.md | 105 +++++++++++++++++------- site/content/docs/04-compile-time.md | 39 +++++---- 3 files changed, 129 insertions(+), 56 deletions(-) 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 `