Listen for bootstrap events? #1885
Unanswered
quasipickle
asked this question in
1. Help
Replies: 1 comment 20 replies
-
I've seen this asked a few times. Probably worth making a PR and asking for comment. It should be relatively simple to set up. You just need to be able to preserve known modifiers and then transform the rest similar to how camel works. alpine/packages/alpinejs/src/utils/on.js Line 13 in b46c41f Maybe |
Beta Was this translation helpful? Give feedback.
20 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering if v3 has an ability to listen for bootstrap custom events (ex: "shown.bs.modal"). I guess the "." conflicts with Alpine syntax for adding modifiers to events, but is there alternate syntax one can use? Something like:
???
Beta Was this translation helpful? Give feedback.
All reactions