HTMLHelper::_('behavior.modal', 'a.modal'); equivalent #35136
-
In Joomla 3, we have |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
No, there's only the Bootstrap version in J4. The reason is that this method was based on Mootools and J4 dropped Mootools without a replacement. There was supposed to be a replacement with https://github.com/joomla-projects/custom-elements/tree/master/src/js/modal and maybe it's something that the project should pursue. I remember @Fedik was asking for a better (client-side programmable) modal and the custom elements could do that. Anyways for the moment, you have to convert it to Bootstrap... 🤷♂️ |
Beta Was this translation helpful? Give feedback.
No, there's only the Bootstrap version in J4. The reason is that this method was based on Mootools and J4 dropped Mootools without a replacement. There was supposed to be a replacement with https://github.com/joomla-projects/custom-elements/tree/master/src/js/modal and maybe it's something that the project should pursue. I remember @Fedik was asking for a better (client-side programmable) modal and the custom elements could do that. Anyways for the moment, you have to convert it to Bootstrap... 🤷♂️