javascript jquery ui 的替代品

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8129811/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 02:23:47  来源:igfitidea点击:

alternative to jquery ui

javascriptjqueryjquery-uivalidationmodal-dialog

提问by amateur

I am currently a site that is highly dependent on some ui features via javascript. For example to ability to validate a web form or opening a modal pop up. I am working with jquery. In the past I have used jquery ui for such but I am now looking at other options. The main reason for such is due to size of the jquery ui js file which I feel is large for the few feautres I use. I understand the file contains other ui features that I do not need.

我目前是一个高度依赖于 javascript 的某些 ui 功能的网站。例如能够验证 Web 表单或打开模态弹出窗口。我正在使用 jquery。过去我曾为此使用过 jquery ui,但我现在正在寻找其他选项。造成这种情况的主要原因是 jquery ui js 文件的大小,我觉得对于我使用的少数 feautres 来说它很大。我了解该文件包含我不需要的其他 ui 功能。

Any suggestions to ui validation and modal pop up frameworks?

对 ui 验证和模态弹出框架有什么建议吗?

回答by Eliseu Monar dos Santos

I highly recommend Kendo UI. They have a very solid code and it's more crossbrowser than jQuery UI. Besides it has a beautiful and modern style (also customizable). Take at look at the demos.

我强烈推荐Kendo UI。他们有一个非常可靠的代码,它比 jQuery UI 更具有跨浏览器。此外,它具有美丽而现代的风格(也可定制)。看看演示

回答by Kevin LaBranche

You can customize the jQuery UI build/download to only what you need to slimthe file size down.

您可以将 jQuery UI 构建/下载自定义为仅需要缩小文件大小的内容。

If you are already doing that and aren't satisfied you might check out jQuery Tools.

如果您已经这样做并且不满意,您可以查看jQuery Tools

回答by David

There's a fantastic list of useful and absolutely tiny JavaScript frameworks and libraries over at Microjs. Chances are pretty good they have something for your needs.

Microjs 上有一个很棒的有用且绝对小巧的 JavaScript 框架和库列表。他们很有可能满足您的需求。

回答by Kato

I've used jQuery TOOLSon a few projects; it's focus is to provide a lightweight alternative and both of the components you've mentioned are included.

我在一些项目中使用了jQuery TOOLS;它的重点是提供一种轻量级的替代方案,并且包括您提到的两个组件。

回答by Jake Feasel

ExtJS and Dojo are good alternative UI libraries, but I wouldn't really consider them smaller than jquery UI.

ExtJS 和 Dojo 是很好的替代 UI 库,但我不会真正认为它们比 jquery UI 小。

回答by Ron Reiter

If you don't mind dumping your MVC and DOM manipulation libraries, use YUI.

如果您不介意转储 MVC 和 DOM 操作库,请使用 YUI。

回答by Ajay Patel

http://www.jqwidgets.comtry with jqwidgets. but problem is that it is not free for commercial use.

http://www.jqwidgets.com尝试使用 jqwidgets。但问题是它不能免费用于商业用途。