基于jQuery的自定义下拉框:Selectize.js

jopen 11年前

Selectize是一个基于jQuery的自定义<select> UI 控件。

特性

  • Clean API & Clean Code — Interface & make modifications to it like a boss. Fully documented on GitHub & inline.
  • Smart Ranking / Multi-property searching — Want to search an item's title and description? No problem. You can even override the scoring function used for sorting if you want to get crazy.
  • Caret between items — Order matters sometimes. Use the [left] and [right] arrow keys to move between items.
  • Select & delete multiple items at once — Hold down [option] on Mac or [ctrl] on Windows to select more than one item to delete.
  • Díåcritîçs supported — Great for international environments.
  • Item creation — Allow users to create items on the fly (and it's async friendly; the control locks until you invoke a callback).
  • Remote data loading — For when you have thousands of options and want them provided by the server as the user types.

selectize.jpg

项目主页:http://www.open-open.com/lib/view/home/1369817327112