As stated in the documentation, to hide and display a modal, it’s better to use conditional rendering so that it’s completely removed from the DOM. However, this approach breaks animations like fade-in, etc. How can I use animations with conditional rendering?
You can still use standard css animations and they will work with conditional rendering!
You just won’t get an animation on fade out.
You can take a look here, these modals use conditional rendering and but animate in. StackPack | Premium WeWeb Components
Yes, it’s a custom build, not WeWeb’s modal.
thanks! another question , in this video how did you know about the contex? is there any documentation about the javascript api on the web elements?
Honestly I found it a while ago somewhere on the forum.
@Joyce do you know if there is? because I found the dev documentation but it is more specific on how to create weweb component in vue, I wanted to understand which js objects we can use inside the editor like the context
and what they are for, thanks