GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Declarative DOM element factory (props bag + variadic children).

      Parameters

      • tag: string
      • props: CreateElementProps = {}
      • ...children: (string | number | boolean | Node | null | undefined)[]

      Returns HTMLElement

      domCreate is the canonical factory (ADR-10); use this one when you need the props bag — dataset, attributes, on* handlers, or innerHTML routed through DOMSecurity.setSafeHTML.

      ⚠️ Its props key is style, not styles, and textContent wins over innerHTML. Both differ from the helpers/dom-helpers.ts variant removed at KERNEL S10, and neither divergence is caught by type-checking — see ADR-10.