---
id: fast-element.compilationresult
title: CompilationResult interface
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [CompilationResult](./fast-element.compilationresult.md)

## 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.

<b>Signature:</b>

```typescript
export interface CompilationResult 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [fragment](./fast-element.compilationresult.fragment.md) | DocumentFragment | <b><i>(BETA)</i></b> A cloneable DocumentFragment representing the compiled HTML. |
|  [hostBehaviorFactories](./fast-element.compilationresult.hostbehaviorfactories.md) | [NodeBehaviorFactory](./fast-element.nodebehaviorfactory.md)<!-- -->\[\] | <b><i>(BETA)</i></b> The behaviors that should be applied to the host element that the template is rendered into. |
|  [targetOffset](./fast-element.compilationresult.targetoffset.md) | number | <b><i>(BETA)</i></b> An index offset to apply to BehaviorFactory target indexes when matching factories to targets. |
|  [viewBehaviorFactories](./fast-element.compilationresult.viewbehaviorfactories.md) | [NodeBehaviorFactory](./fast-element.nodebehaviorfactory.md)<!-- -->\[\] | <b><i>(BETA)</i></b> The behaviors that should be applied to the template's HTML. |
