Ascensor.js Dynamically change movement direction (queued)

27 views Asked by At

I'm using Ascensor.js.

I build with this queued option:

var ascensor = $('#ascensor').ascensor({
    direction: [[2, 2], [1, 1], [1, 2], [1, 3], [1, 4], [3, 1], [3, 2], [3, 3]],
    queued: "y"
}); 

After arrive to a floor, I need to chage queued to "x", to go back the same way. This is possible?

thanks a lot

1

There are 1 answers

0
jjgarcía On

I found the solution.

ascensorInstance.options.queued = "x";`

I hope this help.