getBrowserBoundMatchMedia
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/runtime/browserRuntime / getBrowserBoundMatchMedia
Function: getBrowserBoundMatchMedia()
getBrowserBoundMatchMedia(): ((
query:string) =>MediaQueryList) |undefined
Defined in: utils/runtime/browserRuntime.ts:406
Returnsβ
Functionβ
(query: string) => MediaQueryList
The Window interface's matchMedia() method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query.
Parametersβ
queryβ
string
Returnsβ
MediaQueryList
undefined