mirror of
https://github.com/konvajs/konva.git
synced 2026-01-22 21:02:26 +08:00
updated overloaded docs for d&d, node, shape, stage, sprite, text, and wedge
This commit is contained in:
@@ -19,7 +19,7 @@ suite('DragAndDrop', function() {
|
||||
layer.draw();
|
||||
|
||||
// test defaults
|
||||
assert.equal(circle.isDraggable(), false);
|
||||
assert.equal(circle.draggable(), false);
|
||||
|
||||
//change properties
|
||||
circle.setDraggable(true);
|
||||
|
||||
@@ -523,7 +523,7 @@ suite('Node', function() {
|
||||
assert.equal(clone.getY(), 0);
|
||||
assert.equal(clone.getDraggable(), true);
|
||||
// test alias
|
||||
assert.equal(clone.isDraggable(), true);
|
||||
assert.equal(clone.draggable(), true);
|
||||
assert.equal(clone.getName(), 'groupClone');
|
||||
|
||||
assert.equal(group.getChildren().length, 2);
|
||||
|
||||
Reference in New Issue
Block a user