|
Chapter 9:
Plug-In API
I do two at a time now
I've developed a technique
—Devo,
"Fräulein"
Whenever a task is to be performed two or more times, it is a good idea to apply the
DRY principle—Don't Repeat Yourself. To facilitate this, jQuery provides several tools for developers that go beyond simple iteration and function creation.
Plug-in development is a technique that proves rewarding time and time again.
In this chapter, we'll take a brief look at the basics of using another developer's
plug-in, and then delve into the various ways of extending jQuery with plug-ins we define ourselves.
|
Chapter
9: Plug-In API
-
Using a Plug-in
-
Developing a Plug-in
- Object Method
- Global Function
- Selector Expression
- Easing Style
-
Example: Maintaining Multiple Event Logs
-
Summary
|
|
Paperback 225 pages
Released: July 2007
ISBN: 1847193811
ISBN 13:
978-1-847193-81-0 |
|
|
|
|