diff --git a/tests/dummy/app/templates/public-pages/docs/action-handling.hbs b/tests/dummy/app/templates/public-pages/docs/action-handling.hbs index 714b697ea..9b2533a24 100644 --- a/tests/dummy/app/templates/public-pages/docs/action-handling.hbs +++ b/tests/dummy/app/templates/public-pages/docs/action-handling.hbs @@ -34,7 +34,7 @@ {{/code-example}}

- That gives you the freedom of doing whatever suits your need when the user selects a value.
+ That gives you the freedom of doing whatever suits your needs when the user selects a value.
If the only thing you want to do is update the value, you can make it more concise by using the mut helper.

@@ -53,7 +53,7 @@

The second option you can provide to the component to customize it's behavior is onkeypress. - This options will be fired whenever the user presses a key while the component or the search input inside + This option will be fired whenever the user presses a key while the component or the search input inside have the focus.

@@ -68,7 +68,7 @@

One particular common use case for this action is to add new options in multiple selects when the - user introduced free text. + user introduces free text.

{{#code-example hbs="action-handling-3.hbs" js="action-handling-3-js.js" as |partialName|}} @@ -84,7 +84,7 @@

- This action gives your the opportunity to react to any change in the inputs of the select, even when the inputs are + This action gives you the opportunity to react to any change in the inputs of the select, even when the inputs are emptied, because the search action doesn't fire in that case. If you return false from this action, you will prevent the default behavior, which is searching.

@@ -122,7 +122,7 @@

onopen/onclose Actions

- As their names suggest, this actions are fired when the component is about to be opened or closed respectively, + As their names suggest, these actions are fired when the component is about to be opened or closed respectively, and they both have the same signature (select, event) (the event will be undefined if the component is not opened as result of user interaction).

@@ -139,7 +139,7 @@

Another neat trick is that you can prevent the component from open/close if you return false from these actions, so you have the last word. This is all it takes to create a mandatory select component - that once opened it cannot be closed until you select some value, and changes + that once opened cannot be closed until you select some value, and changes the styles of the component.