Choices.js是一个纯JavaScript插件,将正常的选择或输入转换成标签集合。
const intance = new Choices(element, { // options here }); intance.init(); intance.destroy(); intance.enable(); intance.disable(); intance.highlightAll(); intance.unhighlightAll(); intance.removeActiveItemsByValue(value); intance.removeActiveItems(excludedId); intance.removeHighlightedItems(); intance.showDropdown(); intance.hideDropdown(); intance.setChoices(choices, value, label, replaceChoices); intance.clearChoices(); intance.getValue(valueOnly) intance.setValue(items); intance.setChoiceByValue(value); intance.clearStore(); intance.clearInput();
Choices.js输入框标签多选插件
正在加载文件目录...
- 热度 39
偶是等一下下载了 此素材
兴河下载了 此素材
睡到自然醒下载了 此素材
韶华白首下载了 此素材
忠下载了 此素材
忠下载了 此素材
斩红郎下载了 此素材
东岳下载了 此素材
下载了 此素材
弹那一曲断琴下载了 此素材