Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: What is xhooks?

  1. #21
    Sencha User dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,740
    Vote Rating
    259
      0  

    Default

    And yes - we should document this config. It was intended to be public.
    Don Griffin

    "Use the source, Luke!"

  2. #22
    Sencha Premium Member
    Join Date
    Apr 2008
    Posts
    364
    Vote Rating
    95
      0  

    Default

    xhooks would be very useful to have in anything that supports config. My use case is in overriding methods of the configurable-sub components of a component i'm already subclassing. e.g. the proxy in a store, the tab bar in a tabpanel, an animation in a layout, etc. It is messy having to create separate classes just to hook into a template method or two cleanly when the config will only be used in one place.
    Chief Architect @ Jarv.us Innovations
    Co-captain @ Code for Philly

    Jarvus builds and optimizes top-quality Sencha Touch and ExtJS apps for open-source projects and clients of all sizes.

    Don't waste time with bugs that have already been found and fixed by the community, compile our tried and tested hotfixes packages into all your projects: https://github.com/JarvusInnovations/sencha-hotfixes

  3. #23
    Sencha User dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,740
    Vote Rating
    259
      0  

    Default

    I moved this thread from the now read-only prerelease forum... apologies if you may have tried to reply.

    Yes the ability to do this kind of thing at deeper levels would be useful as well. In many of those cases, there may first need to be support for passing in configs for those nested components, but I can see the usefulness of it.

    Thanks!
    Don Griffin

    "Use the source, Luke!"

Page 3 of 3 FirstFirst 123

Posting Permissions

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