automad/bootstrap-autocomplete
最新稳定版本:1.0.0
Composer 安装命令:
composer require automad/bootstrap-autocomplete
包简介
A wrapper for the bootstrap-4-autocomplete npm package that let's you create autocomplete dropdowns for search fields in Automad templates
关键字:
README 文档
README
This Automad package is a wrapper for the bootstrap-4-autocomplete npm package and makes it easy to create Bootstrap 4 autocomplete dropdowns for search fields in Automad templates.
Usage
To get a basic dropdown with the default settings, simply use the package as follows:
<@ Automad/Bootstrap/Autocomplete @>
The default settings can be changed as well.
<@ Automad/Bootstrap/Autocomplete {
inputSelector: '#search',
highlightClass: 'text-primary'
} @>
Options
Find below a complete list of available options.
| Parameter | Default |
|---|---|
inputSelector |
"#search" |
treshold |
3 |
highlightClass |
"text-primary" |
maximumItems |
10 |
统计信息
- 总下载量: 896
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-05