$.widget.bridge - Usage

$.widget.bridge - Usage

I have noticed that a new jQuery UI method has been added: $.widget.bridge.

The only piece of documentation on the method states:

"added $.widget.bridge to allow creation of stateful plugins using a custom constructor"

Can someone explain what exactly is meant by it and perhaps supply a simple example?

Thanks