Results 1 to 2 of 2

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
    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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      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
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    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
  •