JQuery source code framework ideas

Source: Internet
Author: User

JQuery source code framework ideas

Start the scheduled time to read the source code. The first section describes how to read the jQuery framework.

(Function () {jQuery = function () {}; jQuery some variables and functions and add some methods and attributes to the jQuery object extend: Implementation of jQuery's inherited methods jQuery. extend (): Using jQuery to expand some tool Methods Sizzle: jQuery's own complex selector Callbacks: callback function Deferred: latency object (asynchronous) support: function detection (SNIFFING) data (): data Cache queue (): the queue method is mainly used to execute sequential management attr () prop () val () addClass () and so on: attribute operation related methods on () trigger () and so on: DOM Event operations related methods, such as adding, deleting, obtaining, packaging, DOM filtering, css (): unified style operations, ajax (): Ajax data operations related methods, animate (): motion-related method offset (): Method for location and size-related operations module: jQuery core modularization-related operations window. jQuery = window. $ = jQuery; expose the interface for external use })();
Since the source code analysis should first clarify the ideas of jQuery source code, where do I need to learn from jQuery's shortcomings and advantages? Where can I find out what I want to learn and start reading...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.