← Về thư mục
frontend/src/features/autocomplete/composer.ts
- AcState · type · L29-L35 — type AcState = { open: boolean; items: AcItem[]; idx: number; trigger: string; start: number; };
- acDetect · function · L51-L57 — function acDetect(): ComposerDetect | null
- loadSkillsCatalog · function · L59-L84 — async function loadSkillsCatalog(): Promise< Array<{ displayName?: string; name?: string; description?: string }> >
- acProjectFiles · function · L86-L100 — async function acProjectFiles(): Promise
- ensureComposerAc · function · L102-L120 — function ensureComposerAc(): HTMLElement | null
- acClose · function · L122-L126 — function acClose(): void
- acRender · function · L128-L143 — function acRender(): void
- acPick · function · L145-L160 — function acPick(i: number): void
- acUpdate · function · L162-L195 — async function acUpdate(): Promise
- onComposerKeydown · function · L197-L225 — function onComposerKeydown(e: KeyboardEvent): void
- attachComposer · function · L229-L238 — function attachComposer(c: HTMLTextAreaElement): void
- bindComposerAutocomplete · function · L240-L258 — function bindComposerAutocomplete(): void
- tryBind · function · L242-L245 — tryBind = (): void