Repositioning

Made in The Wall

The Wall recognizes the closer position to a coordinate by repositioning itself at the end of drag.
Let’s see which parameters have to be set to obtain this automatism. The characteristic of automatic repositioning is handled whether inertia is active or not.


Shuffle

CONFIGURATION


Configuration The Wall
                new Wall("wall", {
                                "autoposition":true,
                                "draggable":true,
                                "inertia":true,
                                "width":150,
                                "height":150,
                                "rangex":[-100,100],
                                "rangey":[0,1],
                                callOnUpdate: function(items){
                                    ...
                                }
                            }).initWall();