Chapter 9. jQuery UI mouse interactions

This chapter covers

  • The jQuery UI Mouse module
  • Creating a jQuery UI plugin that uses the mouse

The last chapter introduced you to the jQuery UI widget framework and walked you through developing a plugin using its abilities. You saw how the framework provides basic management of the widget and helps to keep jQuery UI components consistent in appearance and behavior. Another important part of a web UI is its interaction with the mouse, and standard jQuery supports this through its numerous mouse event handlers. But these handlers operate at the most basic level, leaving more complex interactions for your own development.

jQuery UI makes use of mouse drag operations in several of its widgets and has ...

Get Extending jQuery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.