ElementView.onUnbind() method
@microsoft/fast-element > ElementView > onUnbind
ElementView.onUnbind() method
Registers an unbind handler with the controller.
Signature:
onUnbind(behavior: {
unbind(controller: ViewController<TSource, TParent>): any;
}): void;
Parameters
Parameter | Type | Description |
---|---|---|
behavior | { unbind(controller: ViewController<TSource, TParent>): any; } | An object to call when the controller unbinds. |
Returns:
void