Pegasus
(Pegasus)
1
hello,
i have created a small modal menu. i want to be able to open and close them with the same button trigger. how do I do this?
i have already try it with @click=“open = !open” - but it does not work.
does anyone have any idea how this could work?
i know that there is also the modal-close component, but I don’t want to use it
Hi @Pegasus
I would use the Dropdown Component for that. Does exactly what you are looking for or how I understood it
.
I used it on one of my coming templates and it looks like
https://studio-elements.weaverpixel.com
You need to go to the small screen sizes to see it.
Pegasus
(Pegasus)
3
thx… of course. why not the Dropdown Component
^^