Chapter 12. Under the hood of jQuery UI

This chapter covers

  • Advanced positioning of elements
  • Tips and tricks for dealing with widget instances
  • Working with widget properties
  • Building declarative widgets

Although we’ve covered the core of jQuery UI, we have yet to dig into a series of utilities, methods, and properties intended for more advanced usage of the library. As you explore these utilities, you’ll also get a look at how jQuery UI works under the hood. You’ll learn things like how jQuery UI manages instances, how it structures prototype chains, and how some of jQuery Mobile works.

Let’s start by looking at how the jQuery UI widgets handle positioning.

12.1. Positioning elements with the position utility

Positioning an element ...

Get jQuery UI in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.