Home >Web Front-end >JS Tutorial >What is the difference between jquery and jquery ui?

What is the difference between jquery and jquery ui?

青灯夜游
青灯夜游Original
2020-11-11 15:36:113884browse

Difference: 1. jquery is a js library that provides selectors, property modifications, event binding and other functions; while jquery ui is a plug-in based on jQuery; 2. jQuery itself focuses on the background and does not have a beautiful interface , and jQuery UI provides a gorgeous display interface, with both a backend interface and a frontend interface.

What is the difference between jquery and jquery ui?

Get to know jQuery

jQuery is a fast and concise JavaScript framework. It is another excellent JavaScript framework after Prototype. JavaScript code library (or JavaScript framework). [Related recommendations: jQuery Video Tutorial]

The purpose of jQuery design is "write less, do more", which means writing less code and doing more things. It encapsulates common JavaScript function codes, provides a simple JavaScript design pattern, and optimizes HTML document operations, event processing, animation design and Ajax interaction.

Get to know jQuery UI

jQuery UI is an open source JavaScript web user interface code library based on jQuery. Visual controls that include low-level user interaction, animations, special effects, and themeable controls. We can use it directly to build web applications with great interactivity. All plug-ins tested are compatible with IE 6.0, Firefox 3, Safari 3.1, Opera 9.6, and Google Chrome.

jQuery UI contains many widgets that maintain state, so it is slightly different from the typical jQuery plug-in usage pattern. All jQuery UI widgets use the same pattern, so once you learn how to use one, you know how to use the others.

jQuery UI is mainly divided into 3 parts: interaction, widgets, and effects library.

Interaction: Interactive components are content related to mouse interaction, including zooming, dragging, placing, selecting, sorting, etc.

Widgets: Mainly some interface extensions, including folding panels, autocomplete, buttons, date pickers, dialog boxes, menus, progress bars, sliders, spinners, tabs, tool tip boxes, etc. .

Effect library: Rich animation effects, including special effects, display, hide, switch, add class, remove class, etc.

The difference between jquery and jquery ui

jQuery is a js library that mainly provides selectors, property modifications, event binding, etc.;

jQuery UI is a plug-in designed based on jQuery and taking advantage of jQuery's extensibility. Provides some commonly used interface elements, such as dialog boxes, dragging behaviors, resizing behaviors, etc.;

jQuery itself focuses on the background and does not have a beautiful interface, while jQuery UI supplements the deficiencies of the former. It provides The gorgeous display interface makes it easier for people to accept. There is both a powerful backstage and a gorgeous frontstage. jQuery UI is a jQuery plug-in, but it specifically refers to the UI-oriented plug-in officially maintained by jQuery.

For more programming-related knowledge, please visit: Programming Video Course! !

The above is the detailed content of What is the difference between jquery and jquery ui?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn