~/talk

Extensible jQuery Plugin Development

links:none on file
slides:none on file

Explains a concrete jQuery pattern: store defaults and methods in an internal plugin object, give it a name property for namespaced events, attach per-element instances via .data so you can call methods by name and override methods (toggle/animation) without editing core code. Uses jQuery .extend, .on/.unbind, .data and array notation to choose animation handlers like slideToggle. Adds teardown, context/live binding, and shows upgrades keep overrides intact if the public methods remain stable.

AI-written summary · about

  1. 0:00Intro
  2. 2:40Anatomy of a Plugin
  3. 3:59Put the Plugin to Use
  4. 5:19Rebind Your Plugin
  5. 5:54Modify Plugin
  6. 6:36Changing Options After the Fact
  7. 7:35Proposed Improvements
  8. 8:43Store Methods in Plugin Object
  9. 9:07Add Ability to Call Method
  10. 9:26Initialize Plugin
  11. 10:23Create Initializer Method
  12. 11:03Initialize the Plugin
  13. 11:22Create Unique Plugin Instance
  14. 11:36Store Instance and Initialize
  15. 12:19Change Method Name
  16. 12:38Create a Tear-down Method
  17. 12:57Add Live Binding and Contexts
  18. 13:35Bind Event to Parent Element
  19. 13:56New Development Pattern
  20. 14:57Benefits to This Method
  21. 15:40Recommended Reading
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.