Replies: 1 comment
-
I have found out that carousel is working as it is provided in the docs: https://getbootstrap.com/docs/5.0/getting-started/javascript/#asynchronous-functions-and-transitions No luck with modal and dropdowns so far. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Thanks for the awesome job with the new version. We have started to migrate from v4 and stumbled upon a problem.
We are looking for the right way to get the component instance by using the DOM element.
1. We could get the instance of the component in v4. (https://codepen.io/cadday/pen/KKNRvPE)
2. Now with the new one we can't. (https://codepen.io/cadday/pen/QWGrgqr)
3. Unless we initialize it(again?). (https://codepen.io/cadday/pen/ExNLvYV)
It feels like we should get the instance with the second one too since Bootstrap already initialized the component. Is there (or will there be) a way to achive this with native js or we should stick with the instance creating like within the third one? Is it okay to do that?
Thank you for your time.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions