[ux-components] on load page trigger event add ? #2218
Replies: 3 comments
-
It seems that I’ve found a solution, though I’m not sure if it’s the best approach since I haven’t seen this documented anywhere 👍
To declare the controller, use |
Beta Was this translation helpful? Give feedback.
-
!!!! It might be worth considering modifying the page /create_ux_bundle.html to clearly highlight that the link
|
Beta Was this translation helpful? Give feedback.
-
You can use stimulus_action() if you want the same behaviour than stimulus_controller. |
Beta Was this translation helpful? Give feedback.
-
Hi, I've tried many different solutions for this issue link to discussion.
It seems that while the controller.js is being loaded (as confirmed by the console log), the "event" isn't being triggered when the page loads.
I'm stuck at this point and wondering if it's the same issue. Any insights?
Beta Was this translation helpful? Give feedback.
All reactions