Skip to content

globals/functions/createEl

Mock of Obsidian’s global createEl helper, which builds an HTML element from DomElementInfo options.

Function Description
createEl Creates an HTML element and applies its options: class, title, href, placeholder, type, value, text and attributes, then appends it to parent (or prepends it when prepend is set).