James Coglan has updated Ojay, the chaining cloak for YUI that we posted on a some months back.

The newborn promulgation features rattling ultimate keyboard and modify scripting and pair of newborn UI widgets, a newborn circumstance grouping and a arrange of another improvements:

Ojay.Forms. By farther the large newborn package, Ojay.Forms sorts discover a actual discompose saucer for me in cost of app development. It does digit things: it provides retiring replacements for the YAHOO.widget.Button kinsfolk of classes, and it provides a line for direction modify determination and Ajax submission.

Ojay.Keyboard. The newborn keyboard assemblage is an conception over YAHOO.util.KeyListener that lets you feature what stingy without bedevilment most case codes, for example:

Ojay.Keyboard.listen(document, 'ALT SHIFT S', function() {
    // appendage key press
});

It lets you assemble sets of keyboard commands unitedly so you crapper attain context-sensitive keyboard controls, and gives you cushy admittance to enable/disable key events and their choice application responses. Not such more to feature eliminate that you should check discover the documentation.

We hit digit newborn UI packages, Ojay.Overlay and Ojay.Paginator. Overlay gives you a clump of classes for orientating noesis on crowning of the document, producing lightbox personalty and the like, and Paginator implements the noesis person gist that’s got a aggregation of tending recently, including the knowledge to lazy-load pages of noesis via Ajax, and cushy combining with Ojay.History. Both packages become with a assemblage of events to earmark your cipher to move to changes to the components, meet same you would for DOM elements.

Speaking of events, this promulgation introduces Ojay.Observable, a JS.Class power that allows some collection to hold the on() method utilised for perception to events. This power underlies the bespoken events publicised by every the Ojay components. solon aggregation and examples are in the documentation.