The “Slide” object (image) animation on Wix Editor has properties options like “Power : [Soft | Medium | Hard” and “Direction : [From top | From right | From bottom | From left]” but the Corvid slideEffectOption object has no Power property and different direction.
let slideOptions = {
“duration”: 2000,
“delay”: 1000,
“direction”: “right”
};
$w(“#myElement”).show(“slide”, slideOptions);
Please, how to use “Power” option on “Silde” effect using Corvid.
As it states in the Effect Options info:
Note that only some of the effect options are available for each effect.
You can’t if the Wix API Reference does not state it in the info for it.
https://www.wix.com/corvid/reference/$w.EffectOptions.html#SlideEffectOptions
If you are after an effect option that does allow it, then you would have to look at using bounce effect.
https://www.wix.com/corvid/reference/$w.EffectOptions.html#BounceEffectOptions
I will try to hide the image using Bounce effect.
Thank you.
why is the link (effect section) empty ? I’m having the same issue. Can’t set the direction of an effect.