@xviewer.js/core 1.0.0-alpha.50 → 1.0.0-alpha.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +1 -0
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/types/SystemInfo.d.ts +1 -0
package/dist/module.js
CHANGED
|
@@ -2026,6 +2026,7 @@ const browserName = typeof detectUA.browser === "boolean" ? "" : detectUA.browse
|
|
|
2026
2026
|
const audioElem = document.createElement("audio");
|
|
2027
2027
|
class SystemInfo {
|
|
2028
2028
|
}
|
|
2029
|
+
SystemInfo.isTablet = detectUA.isTablet;
|
|
2029
2030
|
SystemInfo.isMobile = detectUA.isMobile || detectUA.isTablet;
|
|
2030
2031
|
SystemInfo.isDesktop = detectUA.isDesktop;
|
|
2031
2032
|
SystemInfo.device = SystemInfo.isMobile ? "mobile" : "desktop";
|