()
| 24 | private _matchMedia: (query: string) => MediaQueryList; |
| 25 | |
| 26 | constructor() { |
| 27 | this._matchMedia = |
| 28 | this._platform.isBrowser && window.matchMedia |
| 29 | ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to |
| 30 | // call it from a different scope. |
| 31 | window.matchMedia.bind(window) |
| 32 | : noopMatchMedia; |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Evaluates the given media query and returns the native MediaQueryList from which results |
nothing calls this directly
no outgoing calls
no test coverage detected