GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Create a DOM element safely with automatic content escaping.

      Parameters

      • tagName: string

        The HTML tag name to create (e.g. "div", "span").

      • options: SafeElementOptions = {}

        Optional element properties: className, id, textContent, attributes, children.

      Returns Element

      The created DOM element with safely escaped content.