Difference between jQuery UI widget and plugin

This page discusses - Difference between jQuery UI widget and plugin

Difference between jQuery UI widget and plugin

Difference between jQuery UI widget and plugin

     

Difference between jQuery UI widget and plugin

Widgets are part of the jQuery UI library, where plugins aren't. Also, the Widgets have a visual component for the GUI, whereas plug-ins don't necessarily (although some have).

Plugins are functions that do something to your website. They could serve a back-end purpose and never be visible to you or the public. In the other hand, a widget usually is the representation of a plugin in the form of an object that can be placed somewhere on your website via the widgets interface under the appearance menu.

Widgets are always plugins, but plugins donā??t always have widgets. A widget usually is a pretty and easy way of using a plugin.

Learn from experts! Attend jQuery Training classes.