diff --git a/assets/link_controllers_and_classes_explanation.png b/assets/link_controllers_and_classes_explanation.png new file mode 100644 index 00000000..9194784e Binary files /dev/null and b/assets/link_controllers_and_classes_explanation.png differ diff --git a/docs/reference/outlets.md b/docs/reference/outlets.md index a7c959a2..55fa33e8 100644 --- a/docs/reference/outlets.md +++ b/docs/reference/outlets.md @@ -29,6 +29,9 @@ They are conceptually similar to [Stimulus Targets](https://stimulus.hotwired.de ``` +Take careful note of how the controller and class names ought to match up + + While a **target** is a specifically marked element **within the scope** of its own controller element, an **outlet** can be located **anywhere on the page** and doesn't necessarily have to be within the controller scope. ## Attributes and Names