@microsoft/fast-element > HostBehavior
HostBehavior interface
Represents an object that can contribute behavior to a host.
Signature:
export interface HostBehavior<TSource = any>
Methods
|
Method |
Description |
|---|---|
|
(Optional) Executed when this behavior is attached to a controller. | |
|
(Optional) Executed when this behavior's host is connected. | |
|
(Optional) Executed when this behavior's host is disconnected. | |
|
(Optional) Executed when this behavior is detached from a controller. |