YUI 3.x Home -

Site Search (YDN & YUIBlog):

# Library Examples: Widget

Note: This is YUI 3.x. Looking for YUI 2.x?

## Widget: Examples

A base class for all widgets, providing lifecycle methods, common attributes and plugin support.

- Extending the base widget class: Shows how to extend the base widget class, to create your own Widgets.
- Creating custom widget classes: Shows how to use Base.build to create custom Widget classes.
- Creating a simple Tooltip widget: Shows how to extend the Widget class, and add WidgetPosition and WidgetStack to create a Tooltip widget class.

Copyright © 2009 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings