Skip to content

obsidian/SearchComponent

Mock of Obsidian’s SearchComponent, a search input with a clear button.

Class Description
SearchComponent Mock of Obsidian’s SearchComponent, a type="search" input with a button that clears it. Clicking SearchComponent.clearButtonEl empties the input and calls the change callback, unless the component is disabled.