Skip to content

HTMLHelper::_('behavior.modal', 'a.modal'); equivalent #35136

Answered by dgrammatiko
joomdonation asked this question in Q&A
Discussion options

You must be logged in to vote

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... 🤷‍♂️

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@dgrammatiko
Comment options

@joomdonation
Comment options

joomdonation Aug 15, 2021
Collaborator Author

@dgrammatiko
Comment options

@joomdonation
Comment options

joomdonation Aug 15, 2021
Collaborator Author

@joomdonation
Comment options

joomdonation Aug 15, 2021
Collaborator Author

Answer selected by richard67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants