Overriding bind and unbind

From Documentation
Revision as of 06:50, 14 July 2010 by Tmillsclare (talk | contribs)


The following diagrams outline when the bind_(Desktop, Skipper, Array) and unbind_(Skipper, Array) methods are called. Firstly let’s take a look at how binding works.

ZKComDevEss bind .png

The unbind_(Skipper, Array) function is very similar. Upon detaching of the widget from the DOM the unbind_(Skipper, Array) method is called enabling us to perform tasks such as adding and removing listeners to avoid memory leaks. The diagram below demonstrates this.

ZKComDevEss unbind .png

Now that we have had a brief introduction of bind_(Desktop, Skipper, Array) and unbind_(Skipper, Array) let’s see the methods put into action when we bind appropriate listeners for events.



Last Update : 2010/07/14

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.