Home  >  Article  >  Web Front-end  >  What is the difference between jquery ui and easyui?

What is the difference between jquery ui and easyui?

青灯夜游
青灯夜游Original
2020-12-11 10:55:442601browse

Difference: 1. jquery ui is a UI-oriented plug-in officially maintained by jQuery; while easyui is a plug-in maintained by a third party. 2. jquery ui is a free interface library; easyui is an interface library that requires money for commercial applications.

What is the difference between jquery ui and easyui?

The operating environment of this article: windows10 system, jquery 2.2.4, thinkpad t480 computer.

Related recommendations: "jQuery Tutorial"

jQuery comes with an optional UI library, but it is a pity that some key components are not included, such as TreeView, For DataGrid, you also need to look for third-party plug-ins.

EasyUI is a UI library developed by a company that is free for private use and charged for public use. It is based on the GNU open source agreement, but only by paying can you buy their source code. It is the best jQuery-based UI library that Kuren has ever come across. The total packaged cost is less than 300k, and it contains almost all common components.

The difference between jquery ui and easyui

jquery ui is a jQuery plug-in, a UI-oriented plug-in officially maintained by jQuery; easyui is also a jQuery plug-in, maintained by a third party The plug-in

jquery ui is a free interface library; easyui is an interface library that requires money for commercial applications

The method calls of the two are also slightly different:

jquery ui is :

$("#divTabs").tabs("remove" , index);

jquery easyui is:

$("#divTabs").tabs("close" , title);

jQuery UI vs EasyUI: What should I do if the two conflict?

Some components of jQueryUI and EasyUI have naming conflicts, such as Dialog, Tabs, etc. Our previous projects were mainly based on jQueryUI. If we use EasyUI, we will rewrite the previous code. Later we adopted A compromise solution:

Go to http://jqueryui.com/download to customize jQuery components and only keep Tabs and Dialog in jQueryUI (others such as DatatimePicker are rewritten using EasyUI); in this way we You will get a jQueryUI file of only 40K, which we think is acceptable.

Load the streamlined jQueryUI into the EasyUI reference, so that EasyUI's Tabs and Dialog will be overwritten.

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

The above is the detailed content of What is the difference between jquery ui and easyui?. 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