Skip to content

Commit 1bd1b2f

Browse files
committed
Clarified @value argument vs value property
Also, I reformatted the paragraphs in question to be <80 characters long. (ember-learn#692)
1 parent ba581fe commit 1bd1b2f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

guides/release/tutorial/autocomplete-component.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,16 @@ We want the component to simply provide an input field and yield the results lis
6363
{{yield this.results}}
6464
```
6565

66-
The template contains an [`<Input>`](../../templates/input-helpers/) helper that renders as a text field, in which the user can type a pattern to filter the list of cities used in a search.
67-
The `value` property of the `Input` will be kept in sync with the `value` property in the component.
68-
69-
Another way to say this is that the `value` property of `Input` is [**bound**](../../object-model/bindings/) to the `value` property of the component.
70-
If the property changes, either by the user typing in the input field, or by assigning a new value to it in our program,
71-
the new value of the property is present in both the rendered web page and in the code.
66+
The template contains an [`<Input />`](../../templates/input-helpers/) helper
67+
that renders as a text field, in which the user can type a pattern to filter the
68+
list of cities used in a search. The `@value` argument of the `<Input />` will
69+
be kept in sync with the `value` property in the component.
70+
71+
Another way to say this is that the `@value` argument of `<Input />` is
72+
[**bound**](../../object-model/bindings/) to the `value` property of the
73+
component. If the property changes, either by the user typing in the input
74+
field, or by assigning a new value to it in our program, the new value of the
75+
property is present in both the rendered web page and in the code.
7276

7377
The `key-up` property will be bound to the `handleFilterEntry` action.
7478

0 commit comments

Comments
 (0)