src/cm/media/js/lib/yui/yui3.0.0/releasenotes/README.widget
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 3.0.0
       
     2 
       
     3 No Changes
       
     4 
       
     5 3.0.0 beta 1
       
     6 
       
     7 * PluginHost moved down to Base.
       
     8 
       
     9 * Render event args added to event facade instead of being passed
       
    10   across separately (e.parentNode).
       
    11 
       
    12 * "hasFocus" attribute renamed to "focused"
       
    13 
       
    14 * "focused" attribute is read only
       
    15 
       
    16 * "focused" attribute is set via:
       
    17    - user interaction
       
    18    - the "focus" and "blur" methods
       
    19 
       
    20 * Only one DOM focus event handler is used now (two for WebKit) and it is 
       
    21   bound to the widget's ownerDocument.  This allows modal widgets to maintain
       
    22   a reference to the element in the document that previously had focus and 
       
    23   to be able to restore that focus when the modal widget is hidden.
       
    24 
       
    25 * "tabIndex" attribute was updated
       
    26   - accepts a number or null
       
    27   - more documentation
       
    28 
       
    29 3.0.0PR2 - Initial release
       
    30 
       
    31 Module Name: "widget"
       
    32 Documentation: http://developer.yahoo.com/yui/3/widget
       
    33 
       
    34 Provides the base Widget class along with an augmentable PluginHost 
       
    35 interface.
       
    36 
       
    37 Widget is the foundation class from which all YUI 3 widgets are derived. 
       
    38 
       
    39 It provides the following pieces of core functionality:
       
    40 
       
    41 * The render lifecycle method, in addition to the init and destroy 
       
    42   lifecycle methods provided by Base
       
    43 * Abstract rendering methods to support a consistent MVC structure across
       
    44   widgets
       
    45 * A common set of base widget attributes
       
    46 * Consistent class-name generation support
       
    47 * Plugin support
       
    48