Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/reference/controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ class EffectsController extends Controller {
}
```

If the two controllers don't belong to the same HTML element, the `data-action` attribute
needs to be added to the *receiving* controller's element.

`dispatch` accepts additional options as the second parameter as follows:

option | default | notes
Expand Down