chore: make class to get the device form factor

This commit is contained in:
Shishkevich D.
2025-03-21 15:09:05 +00:00
parent 510c35f450
commit 6f4eefe601
5 changed files with 11 additions and 6 deletions

View File

@@ -780,4 +780,10 @@ class LanguageManager {
return languageFilter.length > 0;
}
}
class DeviceUtils {
static isMobile() {
return window.innerWidth <= 768;
}
}