CleverMatcher:用于自动完成目的的 javascript 模糊搜索。 在 https 中使用

时间:2021-06-23 22:37:22
【文件属性】:
文件名称:CleverMatcher:用于自动完成目的的 javascript 模糊搜索。 在 https 中使用
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-23 22:37:22
CoffeeScript ##CleverMatcher CleverMatcher 是(或者至少作为一个石头汤,渴望成为)具有自动完成小部件的应用程序的极其有效的模糊文本搜索。 它主要受 Sublime Text 的自动完成行为的启发,具有将首字母缩写词与其扩展匹配的偏好。 CleverMatcher 要求您输入速记。 CleverMatcher 将永远理解。 ###例子 var ms = matchset([ ['Binding * Smith', 0], ['Hopeful Woods', 1], ['blustery_green', 2], ['Holy Sword', 3] ]); ms.seek('bl'); 产量 [ { score: 15, key: 0, text: 'Binding * Smith' }, { score: 1
【文件预览】:
CleverMatcher-master
----test.js(883B)
----CleverMatcher.coffee(6KB)
----README.md(1KB)
----CleverMatcher.js(7KB)
----test.html(464B)

网友评论