Question

Quelles sont les principales différences entre un Widget Jquery et un plug-in Jquery.

Principalement:

  • quelles fins ils servent
  • est mieux qu'un autre ou ils ont tous deux leur place dans le monde jquery
  • Qu'est-ce qu'un exemple où je voudrais utiliser un sur l'autre
  • Qu'est-ce qu'un exemple, si tout où serait soit une solution fine
  • Qu'est-ce qu'un exemple d'un widget largement utilisé et un plugin largement utilisé
Était-ce utile?

La solution

I've never heard of a jQuery widget. I imagine some people might use the term to describe a... widget... that has been made with jQuery. Certainly there are widgets in jQuery UI, for example. It's an odd question.

A widget is a widget (always includes a visual element, sometimes includes reusable functionality), and can be a subset of a plugin or a plugin in and of itself.

A plugin extends jQuery directly and may or may not have a visual component.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top