Skip to main content

@microsoft/fast-foundation > MatchMediaBehavior > unbind

MatchMediaBehavior.unbind() method

Unbinds the behavior from the element.

Signature:
unbind(source: typeof FASTElement & HTMLElement): void;

Parameters

ParameterTypeDescription
sourcetypeof FASTElement & HTMLElementThe element for which the behavior is unbinding.
Returns:

void