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 | 3301 | October 27, 2022 | |
New controller instance created via javascript
|
3 | 1076 | May 7, 2018 | |
Run stimulus method on elements with registered actions/listeners
|
0 | 31 | August 4, 2024 | |
Data-mycontroller-foo-value vs. data-mycontroller-foo w/ data.get('foo')
|
1 | 392 | May 13, 2022 | |
Create Instance of controller from a controller
|
12 | 733 | August 8, 2022 |