Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FragmentContext

Usage data for the current fragment

Hierarchy

  • FragmentContext

Index

Properties

Readonly fragmentResPath

fragmentResPath: string

Path that was used to access this fragment. This path may not reflect the actual file where this fragment will end up. If that path is needed, then see rootResPath.

Readonly rootResPath

rootResPath: string

Path to the "root" fragment or page. This is the path to the actual file that will be produced in the compilation output. This path may not point to the current fragment being compiled, if this fragment is included as a reference. If that path is needed, then see fragmentResPath.

Readonly scope

scope: ScopeData

Fragment-global scope. Is read-only. Contains mapped fragment params, if applicable.

Readonly slotContents

slotContents: ReadonlyMap<string, DocumentNode>

Slot contents for the current fragment

Generated using TypeDoc