The widget factory, part of the jQuery UI Core, provides an object-oriented way to manage the lifecycle of a widget. These lifecycle activities include:
- Creating and destroying a widget
- Changing widget options
- Making "super" calls in subclassed widgets
- Event notifications
Let's explore this API, as we build a simple bullet chart widget.