Available as a stand-alone JS script, a MooTools class and jQuery plugin.
Usage instructions are provided with the package's README file.
What is new in this release:
- Define jsb as AMD module (if define-function is defined)
- Added specific data with data-jsb-ClassName
What is new in version 1.7.0:
- Require.js don't need to call jsb.registerHandler anymore.
- Refactored testrunner into Require.js.
What is new in version 1.6.1:
- Uses setTimeout(*, 0) in whenFired enable off handler.
What is new in version 1.5.0:
- requirejs support added.
What is new in version 1.4.1:
- whenFired also returns the off handler.
What is new in version 1.4.0:
- Fixed bug in native version (did not work with first-input element)
- Added support for data-jsb instead of input element
- Merged all jsb versions into one JsBehaviourToolkit.js
- Added jsb.whenFired(name, [filter, ] callback)
- Added examples/ajax-include
- Added jsb.off method for event handler removal
- Added generator for event removal function to jsb.on
What is new in version 1.3.1:
- Checked if the key still exists, before calling handler.
Requirements:
- JavaScript enabled on client side
Comments not found