---
id: fast-foundation.defaultcomponentpresentation.applyto
title: DefaultComponentPresentation.applyTo() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [DefaultComponentPresentation](./fast-foundation.defaultcomponentpresentation.md) &gt; [applyTo](./fast-foundation.defaultcomponentpresentation.applyto.md)

## DefaultComponentPresentation.applyTo() method

Applies the presentation details to the specified element.

<b>Signature:</b>

```typescript
applyTo(element: FASTElement): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  element | [FASTElement](./fast-element.fastelement.md) | The element to apply the presentation details to. |

<b>Returns:</b>

void
