@microsoft/fast-element > CSSBindingDirective > connectedCallback

CSSBindingDirective.connectedCallback() method

Executed when this behavior's host is connected.

Signature:

connectedCallback(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