Results 1 to 2 of 2

Thread: Why Ext.tree.View. isAnimating is a private method?

    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.
  1. #1
    Sencha Premium User
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    2,339

    Default 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()];
        },
        ...

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    I've entered a request to make it public.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •