Skip to main content
Version: 2.x

HostBehavior.connectedCallback() method

@microsoft/fast-element > HostBehavior > connectedCallback

HostBehavior.connectedCallback() method

Executed when this behavior's host is connected.

Signature:

connectedCallback?(controller: HostController<TSource>): void;

Parameters

Parameter

Type

Description

controller

HostController<TSource>

Controls the behavior lifecycle.

Returns:

void