mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
Merge pull request #329 from Rulexec/master
Thorfile typo fix and chainable on/off.
This commit is contained in:
@@ -98,6 +98,7 @@
|
||||
*/
|
||||
beforeDraw: function(func) {
|
||||
this.beforeDrawFunc = func;
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* set after draw handler
|
||||
@@ -107,6 +108,7 @@
|
||||
*/
|
||||
afterDraw: function(func) {
|
||||
this.afterDrawFunc = func;
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* get layer canvas
|
||||
|
@@ -52,6 +52,7 @@
|
||||
handler: handler
|
||||
});
|
||||
}
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* remove event bindings from the node. Pass in a string of
|
||||
@@ -89,6 +90,7 @@
|
||||
delete this.eventListeners[baseEvent];
|
||||
}
|
||||
}
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* remove child from container, but don't destroy it
|
||||
|
Reference in New Issue
Block a user