---
id: fast-element.controller.onconnectedcallback
title: Controller.onConnectedCallback() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [Controller](./fast-element.controller.md) &gt; [onConnectedCallback](./fast-element.controller.onconnectedcallback.md)

## Controller.onConnectedCallback() method

Runs connected lifecycle behavior on the associated element.

<b>Signature:</b>

```typescript
onConnectedCallback(): void;
```
<b>Returns:</b>

void
