Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Type Alias TemplateMode

    TemplateMode: "text" | "html" | "url"

    How substituted values are escaped.

    • text — none. The result reaches textContent, which is inert.
    • html — escapeHtml. The result reaches innerHTML.
    • url — encodeURIComponent. The result is a URL that will be NAVIGATED to, so a value containing /, ?, # or & must not be able to restructure it: ../../evil in a label would otherwise traverse the target site's path.