First WidgetΒΆ

The jQuery library was built as a very small core for which is it very easy to write plugins. A plugin is a system to make new jQuery functions available without clashing with other code.

  • Make one JS file for the widget plugin
  • widget and plugin boilerplate
  • widget factory
  • initializer and first method
  • wrapping the ‘this’
  • options merging
  • event callbacks
  • unit tests

Previous topic

Getting Started

Next topic

To Do and Notes

This Page