My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

An event manager and wrapper for handling Javascript events.

Provides handlers, listeners and delegates implementations.

A fast selector/matcher is included for delegates to work.

Event capturing/bubbling emulation on Internet Explorer.

Delegates can be used through selectors or by referencing existing elements.
By using selectors it will be possible to do dynamic event binding on newly
created elements, and UI functionality can be added before the onload event.

Event Manager

nwevents-1.2.4.js - Last updated: 2012/01/01

Selector Engine

nwmatcher-1.2.5.js - Last updated: 2012/01/01

New releases have been quite frequent lately, but is easy to upgrade to any version.

  • The few original API calls found in these two files didn't change since nwevents 1.0.
  • Some new additional API calls and functionality were introduced in nwevents 1.1.
  • DOMContentLoaded and onDOMReady functionality was added in nwevents 1.2.3.

Future version (from nwevents-1.2.0.js) will also implement the newest W3C Selector API when natively available. This is currently true only for Webkit engines latest versions (Safari > 3 desktops/mobiles and Google Chrome).

However, by optionally loading nwmatcher.js CSS3 Selector Engine, you will ensure those capabilities will be supported and readily available for cross-browser event handling on any desktop and mobile device OS.

Tested to work on:

  • Firefox 2+, Opera 7.5+, Konqueror 3+, Safari 2+, Internet Explorer 5+.
  • Webkit browsers (Safari, Chrome, iPhone/iPod/iPad and Nokia Symbian OS).
  • Javascript VM: Spidermonkey, Rhino, Google V8 (need DOM layer like env.js).
  • Sony Playstation 3 and device equipped with a NetFront browser version >=1.00.
  • IE/Trident derivated engines like Avant Browser, Green Browser, Maxthon Browser.

Powered by Google Project Hosting