JQuery - which jQuery plugin

can someone tell me what a jQuery plugin is? I used the jQuery library to create small enhancements to the user interface, but I have no idea how to implement the plugin. Any suggestions on how to get started?

TIA

+4
source share
3 answers

Probably the best resource you can read about jQuery plugin development is the plugin development template learning jquery.com:

http://www.learningjquery.com/2007/10/a-plugin-development-pattern

Of course, this does not hurt to take a look at the official jQuery plugin development guide and its equivalent from the jQuery user interface .

And to give you (very) a little insight ... The development of plugins is very simple if you are not completely new to jQuery. In principle, it is as simple as

$.fn.myPlugin = function() { // Plugin Action goes here }; 

What then could be used in a known manner:

 $(someSelector).myPlugin(); 
+7
source

I recommend starting here: http://jqueryui.com/docs/Developer_Guide Or, if you want a complete tutorial, try this page: http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial /

0
source

This is a worthy nettuts screencast tutorial

http://net.tutsplus.com/articles/news/learn-how-to-create-a-jquery-plugin/ . you can also do a simple google search

http://www.google.com/search?hl=en&client=firefox-a&hs=ySu&rls=org.mozilla%3Aen-US%3Aofficial&q=jquery+plugin+tutorial&btnG=Search , which

many more will appear.

Several other links can be found on the jQuery tutorial page.

0
source

Source: https://habr.com/ru/post/1304948/


All Articles