Home  >  Article  >  Web Front-end  >  What is jQuery UI used for?

What is jQuery UI used for?

青灯夜游
青灯夜游Original
2020-11-17 11:51:032442browse

jQuery UI is a web user interface code library based on jQuery, which contains low-level user interaction, animation, special effects and theme-changeable visual controls. It can be used to build highly interactive web applications; it has some jQuery widgets and interaction libraries that can achieve animated visual effects.

What is jQuery UI used for?

[Related recommendations: jQuery video tutorial]

jQuery UI is an open source JavaScript web user based on jQuery Interface code library, including low-level user interaction, animation, special effects, and themable visual controls. We can use it directly to build web applications with great interactivity. It has some jQuery widgets (components) and interaction libraries that can achieve animated visual effects.

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 has four major functions:

1. Implement interaction:

Interaction is a set of plug-ins that facilitate users to interact with DOM elements.

Commonly used interactions include: dragging, drop-down, resizing, selectable, sortable classification.

2. Widgets (Components)

Components are a set of jQuery plug-ins that allow us to quickly create date pickers, progress bars and other user interface elements.

Commonly used components include: date picker, menu, button, prompt, slider, tab (Tabs), modal box, etc.

3. Effects

The effects include a complete set of custom animations and transitions of DOM elements.

Commonly used effects include: hiding, displaying, switching classes, animation, etc.

4. Utility

Utility is a modular tool used internally by the jQuery library.

Use: You can set the position of an element based on the alignment (position) of other elements.

For more programming-related knowledge, please visit: Introduction to Programming! !

The above is the detailed content of What is jQuery UI used for?. 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