mirror of
https://github.com/konvajs/konva.git
synced 2025-07-15 23:39:55 +08:00
updated docs
This commit is contained in:
parent
bb26f948f2
commit
4cc505446a
@ -62,7 +62,7 @@ Kinetic.Animation._removeAnimation = function(anim) {
|
|||||||
for(var n = 0; n < animations.length; n++) {
|
for(var n = 0; n < animations.length; n++) {
|
||||||
if(animations[n].id === id) {
|
if(animations[n].id === id) {
|
||||||
this.animations.splice(n, 1);
|
this.animations.splice(n, 1);
|
||||||
return false;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -745,7 +745,7 @@ Kinetic.Node.prototype = {
|
|||||||
* @name toImage
|
* @name toImage
|
||||||
* @methodOf Kinetic.Node.prototype
|
* @methodOf Kinetic.Node.prototype
|
||||||
* @param {Object} config
|
* @param {Object} config
|
||||||
* @param {Function} callback since the toImage() method is asynchonrous, the
|
* @param {Function} config.callback since the toImage() method is asynchonrous, the
|
||||||
* resulting image object is passed into the callback function
|
* resulting image object is passed into the callback function
|
||||||
* @param {String} [config.mimeType] mime type. can be "image/png" or "image/jpeg".
|
* @param {String} [config.mimeType] mime type. can be "image/png" or "image/jpeg".
|
||||||
* "image/png" is the default
|
* "image/png" is the default
|
||||||
|
Loading…
Reference in New Issue
Block a user