Skip to main content

@microsoft/fast-foundation > MatchMediaBehavior > bind

MatchMediaBehavior.bind() method

Binds the behavior to the element.

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

Parameters

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

void