TDG-i 007 : Create Delegate and Scope

TDG-i 007 : Create Delegate and Scope

In this screencast Jay Garcia discusses more about createDelegate and scope when creating ExtJS applications


2 Responses to “TDG-i 007 : Create Delegate and Scope”

  1. bb Says:

    A real-world example of using createDelegate would make this video helpful.

  2. Andrés Serrón Says:

    In response to bb:

    A real world example could be send local params (ie: handler1 params) to a inner callback being rised, ie: the confirm box callback name it (handler2).

    So if you create a delegate in the handler2 (the confirm fn) then you will able to send handler1 params…

    This is very handy to avoid global vars or outer scope vars.

Leave a Reply