require("js-whatever/js/listenable")(el) → {Object}
Allows jQuery wrapped objects to be used with backbone style events. e.g. listenTo and stopListening
Parameters:
| Name | Type | Description |
|---|---|---|
el |
string | jQuery | The element to be wrapped |
- Source:
Returns:
A object which can be consumed by Backbone's listenTo and stopListening
methods
- Type
- Object
- Source: