Results 1 to 2 of 2

Thread: Observable - addListener delegate documentation

    You found a bug! We've classified it as EXTJS-26153 . 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,417
    Answers
    20
    Vote Rating
    678
      -2  

    Default Observable - addListener delegate documentation

    The Observable addListener delegate option documentation is not very clear.

    The delegate option doc states:

    "The "delegate" option is only available on Ext.dom.Element instances (or when attaching a listener to a Ext.dom.Element via a Component using the element option)."

    I see code like this where the delegate option is applied to a component, not an Ext.dom.Element instance.
    Code:
    me.on({
        beforeactivetabchange: 'doTabChange',
        delegate: '> tabbar',
        scope   : me
    });
    
    
    me.on({
        disabledchange: 'onItemDisabledChange',
        delegate: '> component',
        scope   : me
    });
    The next documentation line reads:

    "See the delegate example below."

    However, there's no delegate example below.

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Location
    Lawrence, KS
    Posts
    461
    Answers
    65
    Vote Rating
    92
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 4
    Last Post: 11 Jul 2012, 6:54 AM
  2. addListener delegate not working
    By mom_vincent in forum Ext: Q&A
    Replies: 7
    Last Post: 27 Feb 2012, 9:31 AM
  3. addListener in Observable vs EventManager
    By extAsplode in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 1 Dec 2010, 5:53 AM
  4. Ext.util.Observable addListener bug with IE
    By verr in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 20 Aug 2010, 2:11 AM
  5. Ext.util.Observable additional addListener option "addOnce"
    By dyndan in forum Community Discussion
    Replies: 3
    Last Post: 29 Aug 2008, 11:46 AM

Posting Permissions

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