mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-11-20 20:34:31 +01:00
6 lines
185 B
JavaScript
6 lines
185 B
JavaScript
var mediaQueries = mediaQueries || {};
|
|
|
|
mediaQueries.IsScreenWidthLessThen = function (width) {
|
|
let mql = window.matchMedia(`(max-width: ${width}px)`);
|
|
return mql.matches;
|
|
}; |