Skip to content

Commit 422eb81

Browse files
authored
Merge pull request #836 from tacman/patch-1
add emphasis to the outlet naming
2 parents 914b8a5 + 2920b92 commit 422eb81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/outlets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ While a **target** is a specifically marked element **within the scope** of its
3333

3434
## Attributes and Names
3535

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.
3737

3838
```html
3939
data-[identifier]-[outlet]-outlet="[selector]"

0 commit comments

Comments
 (0)