Results 1 to 2 of 2

Thread: Controller's control doesn't support standard event listener configuration options

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2007
    Posts
    228
    Vote Rating
    4
      0  

    Default Controller's control doesn't support standard event listener configuration options

    Something like
    Code:
    {
        control: {
            somecomponentref: {
                someevent: {
                    fn: function () {
    
                    },
                    single: true,
                    element: 'element',
                    delegate: 'some html element/component?'
                    //etc.
                }
            }
        }
    }
    expect only function or string in "someevent" but not an object,just like standard listener configuration.

    Thanks.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Vote Rating
    1391
      0  

    Default

    This isn't a bug but how it is implemented. We do have an internal feature request to allow more event options.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

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

Posting Permissions

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