@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    XML block template processor.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Methods

    • Fully expands an XML template string.

      Parameters

      • template: string
      • context: Record<string, unknown>

      Returns string

    • Fully expands an already parsed template document.

      Parameters

      Returns string

    • Expands a node collection.

      Parameters

      • nodes: readonly TemplateNode[]
      • context: Record<string, unknown>

      Returns string

    • Resolves a context key for built-in replacement blocks.

      Parameters

      • key: string
      • context: Record<string, unknown>

      Returns string