blob: e72c3ebe843f722095007e3aa7d770fa7996af93 [file] [log] [blame]
import { Platform } from '@angular/cdk/platform';
/** A utility for calling matchMedia queries. */
export declare class MediaMatcher {
private _platform;
/** The internal matchMedia method to return back a MediaQueryList like object. */
private _matchMedia;
constructor(_platform: Platform);
/**
* Evaluates the given media query and returns the native MediaQueryList from which results
* can be retrieved.
* Confirms the layout engine will trigger for the selector query provided and returns the
* MediaQueryList for the query provided.
*/
matchMedia(query: string): MediaQueryList;
}