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
alternative to jquery ui
提问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
回答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
回答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。但问题是它不能免费用于商业用途。