@microsoft/fast-element > CompilationResult
CompilationResult interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The result of compiling a template and its directives.
Signature:export interface CompilationResult
Properties
Property | Type | Description |
---|---|---|
fragment | DocumentFragment | (BETA) A cloneable DocumentFragment representing the compiled HTML. |
hostBehaviorFactories | NodeBehaviorFactory[] | (BETA) The behaviors that should be applied to the host element that the template is rendered into. |
targetOffset | number | (BETA) An index offset to apply to BehaviorFactory target indexes when matching factories to targets. |
viewBehaviorFactories | NodeBehaviorFactory[] | (BETA) The behaviors that should be applied to the template's HTML. |