0
Respuestas

swap

Melissa Lind hace 11 años actualizado por Alin Alexandru Matei hace 11 años 1
How does the swap behavior work? I couldn't find anything in the user guide. I was assuming that it swaps the position of two different elements? But I couldn't get it to work.


Respuesta

Respuesta
Respuestas

Hi Melissa, this is how Swap behavior works.As target of the Swap behavior you select Self, and for the Swap Target you should specifiy the Next element which will be tapped.

Or you can select for the Target to be the element with which you want to swap the element that has the swap behavior, and for Swap Target select Self. I've attached an example on how to do this.100 - swap.zip

On the example that I've attached to this reply you have to tap the Triangle and this element will Swap with the Square element. As you can see the Triangle has Tap-Swap with Target being element1(which is the Square) and the Swap Target is element2(which is the Triangle).

Respuesta
Respuestas

Hi Melissa, this is how Swap behavior works.As target of the Swap behavior you select Self, and for the Swap Target you should specifiy the Next element which will be tapped.

Or you can select for the Target to be the element with which you want to swap the element that has the swap behavior, and for Swap Target select Self. I've attached an example on how to do this.100 - swap.zip

On the example that I've attached to this reply you have to tap the Triangle and this element will Swap with the Square element. As you can see the Triangle has Tap-Swap with Target being element1(which is the Square) and the Swap Target is element2(which is the Triangle).

Thanks!!! The example is perfect.