Skip to main content
Version: 2.x

HostBehavior.removedCallback() method

@microsoft/fast-element > HostBehavior > removedCallback

HostBehavior.removedCallback() method

Executed when this behavior is detached from a controller.

Signature:

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

Parameters

Parameter

Type

Description

controller

HostController<TSource>

Controls the behavior lifecycle.

Returns:

void