Hi! I am new to coding so bare with me.
Is there a way to have a lightbox close automatically after a certain amount of time with a fade out effect?
I have figured out a code to make it close by itself but not with any effect. What can I add to this to create the smoother fade out effect upon closing?
import wixWindow from ‘wix-window’;
$w.onReady(function() {
setTimeout(function() {wixWindow.lightbox.close()}, 50000);
} );
Thanks!!