diff --git a/js/dos/ext/vis/examples/network/other/animationShowcase.html b/js/dos/ext/vis/examples/network/other/animationShowcase.html new file mode 100644 index 0000000..d68ef75 --- /dev/null +++ b/js/dos/ext/vis/examples/network/other/animationShowcase.html @@ -0,0 +1,279 @@ + + +
++var moveToOptions = { + position: {x:x, y:x}, // position to animate to (Numbers) + scale: 1.0, // scale to animate to (Number) + offset: {x:x, y:y}, // offset from the center in DOM pixels (Numbers) + animation: { // animation object, can also be Boolean + duration: 1000, // animation duration in milliseconds (Number) + easingFunction: "easeInOutQuad" // Animation easing function, available are: + } // linear, easeInQuad, easeOutQuad, easeInOutQuad, +} // easeInCubic, easeOutCubic, easeInOutCubic, + // easeInQuart, easeOutQuart, easeInOutQuart, + // easeInQuint, easeOutQuint, easeInOutQuint ++
position x | + |
position y | + |
scale | + |
offset x | px | +
offset y | px | +
duration | ms | +
easingFunction | + + | +