选择的“多选” [英] Chosen's "Multiple Select"

查看:115
本文介绍了选择的“多选”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现选择。图书馆有点大,特别是我只对多选功能感兴趣。

I have just discovered Chosen. The library is somewhat large, especially that I am only interested in the "Multiple Select" feature.

有一种方法来构建一个slimer Chosen

Is there a way to build a slimer Chosen just for "Multiple Select"?

推荐答案

您的意思是facebook like tab completion multiple select type特征?如果是这样...有一些教程在线写自己的。唯一的方法,我可以想象你可以苗条选择不是!我看了一下源代码,在我看来,多选方面是Chosen的功能的核心。我不确定你会得到这么多的路线。

If you want to write your own, here is a tutorial you could follow to get write functionality you want:

如果你想自己写,这里是一个教程,你可以跟随以获得写功能你想要:

  • How to write a facebook like multiselect

此外,您也可以查看其他图书馆。我发现了一对夫妇:

  • FCBKcomplete - only 11k!
  • Proto!MultiSelect - bigger :(
  • jQuery tokenInput - flexible looking.
  • TextExtJS - cool kid approved - is it small? dunno.

'Somewhat large' is a subjective term, but to me the 18k sounds pretty slim for the minified version of Chosen. Plus its the one I've used, and have been happy with. However - other libraries abound, so...happy hunting!

这篇关于选择的“多选”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆