Gets a signal of results for the given queries that will emit new results for any changes in matching of the given queries.
Paramaters | |
valuestring | readonly string[] |
One or more media queries to check. |
Returns | |
Readonly<Signal<BreakpointState>> |
A signal of matches for given queries. |
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.
Parameters |
querystring |
Returns |
MediaQueryList |
The current state of the layout breakpoint.
Properties
Name | Description |
---|---|
breakpoints: { [key: string]: boolean; } | A key boolean pair for each query provided to useBreakpointSignal |
matches: boolean | Whether there are currently matching breakpoints |
const Breakpoints: {
XSmall: string;
Small: string;
Medium: string;
Large: string;
XLarge: string;
Handset: string;
Tablet: string;
Web: string;
HandsetPortrait: string;
TabletPortrait: string;
WebPortrait: string;
HandsetLandscape: string;
TabletLandscape: string;
WebLandscape: string;
};