@microsoft/fast-foundation > MatchMediaBehavior > constructListener
MatchMediaBehavior.constructListener() method
Constructs a function that will be invoked with the MediaQueryList context
Signature:protected abstract constructListener(source: typeof FASTElement): MediaQueryListListener;
Parameters
Parameter | Type | Description |
---|---|---|
source | typeof FASTElement | the element the behavior is acting on. |