Code Below I want to increase the speed of the events mouse in and mouse out but can’t seem to figure out how to use ‘Options’ to adjust the ‘duration’
$w.onReady(function () {
}
);
export function text3_mouseIn(event) {
$w(“#A”).show(“SlideIn”);
}
export function text3_mouseOut(event
Hi Gokul,
To adjust the speed if an animation you can use the following parameters
-
duration
-
Delay
-
Direction.
You can apply them like this:
let slideOptions ={
"duration":4000,
"delay":1000,
"direction":"left"
};
export function text3_mouseIn(event) {
$w("#A").show("SlideIn",slideOptions);
}
For more information, visit the Velo API Reference website.
Kind regards,
Kristof.
Facing this error
Code used below:
$w . onReady ( function () {
});
let slideOptions ={
“duration” : 4000 ,
“delay” : 1000 ,
“direction” : “left”
};
export function button1_mouseIn ( event ) {
$w ( "#box1" ). show ( "SlideIn" , slideOptions );
}
Did it work or not?
Yellow logs arw warninga not errors, ao if it worked evrything is fine
No it did not unfortunately
I am trying to replicate the box behind text as seen here : [ideo.com](ideo.com
My)
[My](ideo.com
My) code attached below
Atm i am not on my laptop, i will try to make some time in about an hour , otherwhise it will be in around13-14h when i’m back at work.