jquery ui.js refers to the jQuery UI library, which is an open source JavaScript web user interface code library based on jQuery, including underlying user interaction, animation, special effects and theme-changeable visual controls; jQuery UI is A plug-in designed based on jQuery and utilizing jQuery's extensibility.
#The operating environment of this tutorial: Windows 10 system, jQuery UI version 1.9.2, Dell G3 computer.
What is jquery ui.js?
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 to use one, you know how to use the others.
jQuery UI is actually a jQuery plug-in, which specifically refers to the UI-oriented plug-in officially maintained by jQuery
The main difference between jQuery UI and jquery is:
(1) jQuery is a js library that mainly provides selectors, property modification, event binding, etc.
(2) jQuery UI is a plug-in designed based on jQuery and utilizing the scalability of jQuery. Provides some commonly used interface elements, such as dialog boxes, dragging behaviors, resizing behaviors, etc.
jQuery UI is mainly divided into 3 parts: interaction, widgets and effects library.
Interaction
Interactive components are content related to mouse interaction, including Draggable, Droppable, Resizable, Selectable and Sortable, etc.
Widgets
are mainly some interface extensions, including Accordion, AutoComplete, ColorPicker, Dialog, Slider, Tabs, DatePicker, Magnifier, ProgressBar, Spinner, etc. The new version of the UI will include more Many widgets.
Effect library
is used to provide rich animation effects, so that animation is no longer limited to jQuery's animate() method.
jQuery UI Features
Simple and easy to use
Inherit jQuery’s easy-to-use features, provide a highly abstract interface, and improve website usability in the short term.
Open source and free
Adopts MIT & GPL dual agreement authorization, easily meeting various authorization needs from free products to enterprise products.
Widely compatible
Compatible with all major desktop browsers. Including IE 6, Firefox 2, Safari 3, Opera 9, Chrome 1.
Light and fast
The components are relatively independent and can be loaded on demand to avoid wasting bandwidth and slowing down the opening speed of web pages.
Standard Advanced
Supports WAI-ARIA and provides progressive enhancement through standard XHTML code to ensure accessibility in low-end environments.
Beautiful and changeable
Provides nearly 20 preset themes, and can customize up to 60 configurable style rules, providing 24 background texture choices.
Open and public
From structural planning to code writing, the entire process is open, and everyone can participate in documentation, code, and discussions.
Strong Support
Google provides CDN content delivery network support for publishing code.
Complete Chineseization
The development package has more than 40 language packages including Chinese.
Disadvantages and deficiencies:
1. The code is not robust enough: it lacks comprehensive test cases, some components have many bugs, and cannot meet the requirements of enterprise-level product development.
2. Insufficient architecture planning: lack of coordination of APIs between components and lack of help for cooperative use.
3. Fewer controls: Compared with mature products such as Dojo, YUI, and Ext JS, there are fewer available controls and cannot meet complex interface functional requirements.
[Recommended learning: jQuery video tutorial]
The above is the detailed content of What is jquery ui.js. For more information, please follow other related articles on the PHP Chinese website!