Commit 4340c81
committed
minor #2046 Update naming of stimulus controller on default attributes - index.rst (DennisdeBest)
This PR was merged into the 2.x branch.
Discussion
----------
Update naming of stimulus controller on default attributes - index.rst
To add a custom stimulus controller to the root component element the name can not contain `-controller`.
If using `some_custom_controller.js`, the name should be `some-custom`
I had some issues with that and figured it out on this github issue : #687 (comment)
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| License | MIT
Commits
-------
03abf65 Update index.rst1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
| 883 | + | |
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
| |||
0 commit comments