Skip to main content
Version: 2.x

HostBehavior.disconnectedCallback() method

@microsoft/fast-element > HostBehavior > disconnectedCallback

HostBehavior.disconnectedCallback() method

Executed when this behavior's host is disconnected.

Signature:

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

Parameters

Parameter

Type

Description

controller

HostController<TSource>

Controls the behavior lifecycle.

Returns:

void