Skip to content

obsidian/functions/displayTooltip

Mock of Obsidian’s displayTooltip.

Function Description
displayTooltip Shows a tooltip over an element right away, rather than on hover as setTooltip does. The mock appends a span.tooltip holding the content inside the target element, and ignores the options.