You found a bug! We've classified it as
EXTJS-13610
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
Why Ext.tree.View. isAnimating is a private method?
Is there a reason why this method is private in 5.0 and 4.0?
I'd like to use this method to know if a tree node is expanding.
I expand a tree node when a checkbox is clicked. I'd like to ignore the 'checkchange' event when the tree checkbox is clicked in a quick succession and the node is still expanding. This method is helpful to me, but it's marked private.
Code:
Ext.define('Ext.tree.View', {
...
/**
* Checks if a node is currently undergoing animation
* @private
* @param {Ext.data.Model} node The node
* @return {Boolean} True if the node is animating
*/
isAnimating: function(node) {
return !!this.animQueue[node.getId()];
},
...
-
I've entered a request to make it public.