Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Function assemble

    • Fills a shell's placeholders with fragment markup by string replacement. An unfilled placeholder stays in place: dropping it would hide a region the shell and fragments disagree about.

      Parameters

      • shell: string
      • fragments: Readonly<Record<string, string>>

      Returns AssemblyResult