Skip to content
On this page

ISuggestOwner

Methods

renderSuggestion

ts
renderSuggestion: (value: T, el: HTMLElement) => void

将建议项渲染到 DOM 中。

selectSuggestion

ts
selectSuggestion: (value: T, evt: MouseEvent | KeyboardEvent) => void

当用户执行选择操作时被调用。