chore: make class to get the device form factor
This commit is contained in:
1 parent
510c35f450
commit
6f4eefe601
5 files changed
+11
-6
No files matched your search
@@ -780,4 +780,10 @@ class LanguageManager {
|
||||
|
||||
return languageFilter.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
class DeviceUtils {
|
||||
static isMobile() {
|
||||
return window.innerWidth <= 768;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user