/documentation/appframework/$.unbind.md
Markdown | 40 lines | 24 code | 16 blank | 0 comment | 0 complexity | c496571646816e358234c9b46b00e4ac MD5 | raw file
- #$.unbind(object,event,function);
- ```
- Unbind an event to an object instead of a DOM Node
-
- ```
- ##Example
- ```
- $.unbind(this,"event",function(){});
-
- ```
- ##Parameters
- ```
- object Object
- event String
- function Function
- ```
- ##Returns
- ```
- undefined
- ```
- ##Detail
- $.bind(object,eventfunction) works the same as $().unbind, except you are unbinding events on JavaScript Objects.
- The following will tell the $.touchLayer object to no longer respond to "orientationchange-reshape" events
- ```
- $.unbind($.touchLayer, 'orientationchange-reshape', orientationChangeProxy);
- ```