<velin-search> 0.9.0 extension
Documentation search and in-app find — powered by core/search.
Usage
<velin-search index="/search-index.json" categories="docs,components"></velin-search>
Attributes
| Attribute | Default | Description |
|---|---|---|
index | /search-index.json | JSON index URL |
categories | all | Comma-separated filter |
min-chars | 2 | Minimum query length |
fuzzy | 0.2 | Typo tolerance |
debounce | 120 | Input debounce (ms) |
Full guide: VelinSearch.
Accessibility
- Input:
role="combobox",aria-expanded,aria-activedescendant - Results:
role="listbox", options as links withrole="option" - Keyboard: ↑↓ navigate, Enter open, Escape close