Search...
K⌘
GitHub
Get started
Documentation
Components
Example API Reference
{ $refs.input.focus() })" @keydown.escape.window="open = false" @keydown.meta.k.prevent.window="open = !open; if (open) { $nextTick(() => { $refs.input.focus(); }) }" @keydown.ctrl.k.prevent.window="open = !open; if (open) { $nextTick(() => { $refs.input.focus(); }) }" x-transition.opacity >
0; results = []" x-model="query" x-ref="input" x-on:keydown.debounce.500ms=" if ($event.target.value.length === 0) { results = []; searching = false; return; } $nextTick(() => { // Simulate a slow search without async syntax results = index.search($event.target.value, { fields: { title: { boost: 10 }, openapi_tag: { boost: 9 }, lvl0: { boost: 8 }, openapi_path: { boost: 7 }, lvl1: { boost: 7 }, lvl2: { boost: 6 }, lvl3: { boost: 5 }, lvl4: { boost: 4 }, lvl5: { boost: 3 }, text: { boost: 2 }, openapi_summary: { boost: 2 }, openapi_description: { boost: 2 }, code: { boost: 2 }, alt: { boost: 1 }, }, }); searching = false; }) " />
Searching...
Found 1 result
Found
results
No results
Article
API Operation
»
Documentation
Components
Example API Reference
Introduction
Component syntax
Expression syntax
Filters
Custom reusable components
UI Components
Button
Callout
Card
Code
CodeSelect
Icon
Image
Link
Math
Mermaid Diagrams
Steps
Tabs
Layout Components
Flex
Fragment
Grid
Box
Introduction
Component syntax
Expression syntax
Filters
Custom reusable components
UI Components
Button
Callout
Card
Code
CodeSelect
Icon
Image
Link
Math
Mermaid Diagrams
Steps
Tabs
Layout Components
Flex
Fragment
Grid
Box
UI Components
Mermaid Diagrams
Coming soon...
On this page