mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 02:37:59 +08:00
finished transition code, complete with callback option whenever a transition is completed. All numeric Node properties can be transitioned. Will add easing function options later
This commit is contained in:
@@ -2,11 +2,11 @@ function Test() {
|
||||
this.testOnly = "";
|
||||
this.counter = 0;
|
||||
this.tests = {
|
||||
"TRANSITION - transition position": function(containerId) {
|
||||
"TRANSITION - transition position and rotation": function(containerId) {
|
||||
var stage = new Kinetic.Stage(containerId, 578, 200);
|
||||
var layer = new Kinetic.Layer();
|
||||
var rect = new Kinetic.Rect({
|
||||
x: 10,
|
||||
x: 100,
|
||||
y: 100,
|
||||
width: 100,
|
||||
height: 50,
|
||||
|
Reference in New Issue
Block a user