Skip to content

obsidian/AbstractInputSuggest

Mock of Obsidian’s AbstractInputSuggest, the type-ahead popover attached to a text input.

Class Description
AbstractInputSuggest Mock of Obsidian’s AbstractInputSuggest, which adds type-ahead suggestions to an <input> or a <div> with contentEditable set. The mock reads and writes the element’s value, and records the selection callback in AbstractInputSuggest.selectCb, which AbstractInputSuggest.selectSuggestion calls; no popover is shown.