You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.7 to 6.6.1.
- [Commits](indutny/elliptic@v6.5.7...v6.6.1)
---
updated-dependencies:
- dependency-name: elliptic
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Bump ejs from 3.1.7 to 3.1.10 in /examples
Bumps [ejs](https://github.com/mde/ejs) from 3.1.7 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](mde/ejs@v3.1.7...v3.1.10)
---
updated-dependencies:
- dependency-name: ejs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Bump webpack-dev-middleware from 3.7.3 to 5.3.4 in /examples
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 3.7.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v3.7.3...v5.3.4)
---
updated-dependencies:
- dependency-name: webpack-dev-middleware
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Update 02_hello_stimulus.md
Update 03_building_something_real.md
add emphasis to the outlet naming
#669 (comment)
this error is so hard to track down that I added some emphasis and hopefully the search engines will point to this.
initial try at patching methods
typescript fixes
added tests
updated methods to get classes working
adding tests back in and tidying up
initial try at patching methods
updated methods to get classes working
adding tests back in and tidying up
Copy file name to clipboardExpand all lines: docs/handbook/02_hello_stimulus.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ We'll finish the exercise by changing our action to say hello to whatever name w
133
133
134
134
In order to do that, first we need a reference to the input element inside our controller. Then we can read the `value` property to get its contents.
135
135
136
-
Stimulus lets us mark important elements as _targets_ so we can easily reference them in the controller through corresponding properties. Open `public/index.html` and add a `data-hello-target` attribute to the input element:
136
+
Stimulus lets us mark important child elements as _targets_ so we can easily reference them in the controller through corresponding properties. Open `public/index.html` and add a `data-hello-target` attribute to the input element:
Copy file name to clipboardExpand all lines: docs/handbook/03_building_something_real.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ Now let's add one more PIN field. This time we'll use a Copy _link_ instead of a
145
145
</div>
146
146
```
147
147
148
-
Stimulus lets us use any kind of element we want as long as it has an appropriate `data-action` attribute.
148
+
Stimulus lets us use any kind of element we want as long as it has an appropriate `data-action` attribute, and is a child of the controller component.
149
149
150
150
Note that in this case, clicking the link will also cause the browser to follow the link's `href`. We can cancel this default behavior by calling `event.preventDefault()` in the action:
Copy file name to clipboardExpand all lines: docs/reference/outlets.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ While a **target** is a specifically marked element **within the scope** of its
33
33
34
34
## Attributes and Names
35
35
36
-
The `data-chat-user-status-outlet` attribute is called an _outlet attribute_, and its value is a [CSS selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) which you can use to refer to other controller elements which should be available as outlets on the _host controller_. The outlet identifier in the host controller must be the same as the target controller's identifier.
36
+
The `data-chat-user-status-outlet` attribute is called an _outlet attribute_, and its value is a [CSS selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) which you can use to refer to other controller elements which should be available as outlets on the _host controller_. The outlet identifier in the host controller **must be the same** as the target controller's identifier. If not, it will throw an error message that outlet does not exist.
0 commit comments