GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Generates an inline SVG string encoding the given URL.

      On first call, lazy-loads qrcode-generator (~4 KB chunk). The QR uses type-number 0 (auto) and error-correction level "M" — a balanced choice for URLs up to ~360 chars while staying scannable at small sizes.

      Parameters

      • url: string

        URL to encode. Caller is responsible for length checks.

      Returns Promise<string>

      SVG markup, safe to inject via DOMSecurity.setSafeHTML.