I created a custom element. I want to bind stimulus controller automatically, without data-controller attribute. How can I do this?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Binding actions in controller code
|
3 | 3261 | October 27, 2022 | |
New controller instance created via javascript
|
3 | 1076 | May 7, 2018 | |
Run stimulus method on elements with registered actions/listeners
|
0 | 27 | August 4, 2024 | |
Data-mycontroller-foo-value vs. data-mycontroller-foo w/ data.get('foo')
|
1 | 389 | May 13, 2022 | |
Create Instance of controller from a controller
|
12 | 731 | August 8, 2022 |