In association with heise online

17 January 2011, 17:04

Yahoo updates YUI JavaScript framework

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Various new widgets in Yahoo's BSD licensed YUI 3.3 JavaScript framework are designed to make web pages more attractive and improve their usability. Among them is a widget for auto-completing user input which can, for instance, be fed JSON data from a web server via a URL.

Other widgets can be used to display and edit data tables, to create business charts or to implement a circular input control. Some of the new components are still in beta state, such as the Resize API which provides DOM elements with active corners for resizing and allows developers to preset an aspect ratio as well as a minimum and maximum size.

New YUI functions allow for removing a DOM element's child nodes and for making nodes (in)visible. The YUI library can be loaded by including a "seed" file in the web page:

<script src="http://yui.yahooapis.com/3.3.0/build/yui/yui-min.js" 
charset="utf-8"></script>

The corresponding code will load the required API functions. As an alternative, developers can use an interactive configuration tool to select the modules required for their applications.

(crve)

Print Version | Send by email | Permalink: http://h-online.com/-1170646
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit