Skip to content

obsidian/AbstractTextComponent

Mock of Obsidian’s AbstractTextComponent, the shared base of the text and text area components.

Class Description
AbstractTextComponent Mock of Obsidian’s AbstractTextComponent, a value component wrapping a text <input> or <textarea>. As in Obsidian, the value lives in the element: AbstractTextComponent.getValue reads inputEl.value, and an input event on the element calls AbstractTextComponent.onChanged.