gpt4 book ai didi

javascript - 不显眼的快速过滤下拉列表 实现

转载 作者:行者123 更新时间:2023-11-28 09:55:13 24 4
gpt4 key购买 nike

我正在使用 UFD 自动完成插件,有人可以建议如何在此插件中实现 OPTGROUP 功能吗?

谢谢。

最佳答案

来自Features页...

Limitations

Sounds great, but what about the missing features that you might want to know about for your situation:

  • no <OPTGROUP ..> support. Possible to implement.
  • no complex per-item content, such as multiple images or HTML. A single block <LI .. > with background image, hover/active class and CSS is all you get - performance is more important sorry.
  • no support for multiple selection, i.e. <SELECT multiple .. >. (thetoolman) doesn't recommend them as a good UI widget: ctrl + click for form entry? no thanks. Use checkboxes or some better metaphor!
  • no JSON/ajax/ajax-autocomplete support. This is just a wrapper on a <SELECT.. > tag, so you can modify or inject new <OPTION ..>s to the master via any technique/tool you prefer, then simply trigger a reload from that master <SELECT ..> :)
  • limited backwards compatibility with sexy-combo configuration, CSS, callbacks etc. if you are upgrading. The transition should be easy however, as the included skins use the same file layout more or less.
  • many events are not passed on, such as key events. Welcome use-case suggestions for event mimicing of other types.
  • Not yet tested with screen-readers and other special access techniques. Gladly accept suggestions, especially with the dummy ARIA-enabled themeroller test in the current demo page linked above.

如果您询问如何自己实现它,则需要开始实现并在遇到困难时提出问题。

关于javascript - 不显眼的快速过滤下拉列表 <optgroup> 实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10183016/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com