src/cm/media/js/lib/yui/yui_3.0.0b1/releasenotes/README.widget
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 0 40c8f766c9b8
permissions -rw-r--r--
add link to "privacy policy" in the header test

3.0.0 beta 1

* PluginHost moved down to Base.

* Render event args added to event facade instead of being passed
  across separately (e.parentNode).

* "hasFocus" attribute renamed to "focused"

* "focused" attribute is read only

* "focused" attribute is set via:
   - user interaction
   - the "focus" and "blur" methods

* Only one DOM focus event handler is used now (two for WebKit) and it is 
  bound to the widget's ownerDocument.  This allows modal widgets to maintain
  a reference to the element in the document that previously had focus and 
  to be able to restore that focus when the modal widget is hidden.

* "tabIndex" attribute was updated
  - accepts a number or null
  - more documentation


3.0.0PR2 - Initial release

Module Name: "widget"
Documentation: http://developer.yahoo.com/yui/3/widget

Provides the base Widget class along with an augmentable PluginHost 
interface.

Widget is the foundation class from which all YUI 3 widgets are derived. 

It provides the following pieces of core functionality:

* The render lifecycle method, in addition to the init and destroy 
  lifecycle methods provided by Base
* Abstract rendering methods to support a consistent MVC structure across
  widgets
* A common set of base widget attributes
* Consistent class-name generation support
* Plugin support