function inside the: ->modalCloseButton()
Hi, I have a question.
Is it possible to pass a function inside the ->modalCloseButton() when it is clicked?
I wanted to do something like this:
this is just an example of how I wanted it;
I know it doesn't work this way, but I wanted to see if there's any way to do it.
I am opening the modal using: ->modalContent()
Is it possible to pass a function inside the ->modalCloseButton() when it is clicked?
I wanted to do something like this:
this is just an example of how I wanted it;
I know it doesn't work this way, but I wanted to see if there's any way to do it.
I am opening the modal using: ->modalContent()