@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/main.js
CHANGED
|
@@ -2028,6 +2028,7 @@ const browserName = typeof detectUA.browser === "boolean" ? "" : detectUA.browse
|
|
|
2028
2028
|
const audioElem = document.createElement("audio");
|
|
2029
2029
|
class SystemInfo {
|
|
2030
2030
|
}
|
|
2031
|
+
SystemInfo.isTablet = detectUA.isTablet;
|
|
2031
2032
|
SystemInfo.isMobile = detectUA.isMobile || detectUA.isTablet;
|
|
2032
2033
|
SystemInfo.isDesktop = detectUA.isDesktop;
|
|
2033
2034
|
SystemInfo.device = SystemInfo.isMobile ? "mobile" : "desktop";
|