Skip to main content
Version: 2.x

HostBehavior.addedCallback() method

@microsoft/fast-element > HostBehavior > addedCallback

HostBehavior.addedCallback() method

Executed when this behavior is attached to a controller.

Signature:

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

Parameters

Parameter

Type

Description

controller

HostController<TSource>

Controls the behavior lifecycle.

Returns:

void