concept widget instance in category jQuery

appears as: widget instce, widget instces, widget instance
jQuery UI in Action

This is an excerpt from Manning's book jQuery UI in Action.

This code listens for clicks on the todo widget <ul>, and—when the target is an <input>—invokes _renderList(). The $.proxy() call is necessary so that this in _renderList() is set to the widget instance, instead of the DOM element the event occurred on.

The last piece of jQuery UI Core we need to discuss is the handy :data pseudo-selector, but to show what it’s best used for, we’ll include it in the broader context of dealing with widget instances.

12.3. Accessing and managing widget instances

We’ve talked about widget instances on and off throughout the book, but now let’s take an in-depth look at what they are and some of the things you can do with them. We’ll start with a review before we get into the trickier stuff.