@microsoft/fast-element > CSSBindingDirective > addedCallback
CSSBindingDirective.addedCallback() method
Executed when this behavior is attached to a controller.
Signature:
addedCallback(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