@microsoft/fast-element > CSSBindingDirective > removedCallback

CSSBindingDirective.removedCallback() method

Executed when this behavior is detached from a controller.

Signature:

removedCallback(controller: HostController<HTMLElement & {
        $cssBindings: Map<CSSBindingDirective, CSSBindingEntry>;
    }>): void;

Parameters

Parameter

Type

Description

controller

HostController<HTMLElement & { $cssBindings: Map<CSSBindingDirective, CSSBindingEntry>; }>

Controls the behavior lifecycle.

Returns:

void