@schneideress/dashboardframework 0.0.165 → 0.0.166
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/bundles/schneideress-dashboardframework.umd.js +5 -7
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra.dashboard.responsive.service.js +6 -8
- package/esm5/lib/ra.dashboard.responsive.service.js +6 -8
- package/fesm2015/schneideress-dashboardframework.js +5 -7
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +5 -7
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
|
@@ -499,15 +499,15 @@ var RADashboardResponsiveService = /** @class */ (function () {
|
|
|
499
499
|
*/
|
|
500
500
|
function () {
|
|
501
501
|
var _this = this;
|
|
502
|
-
this.screenWidth = screen.width;
|
|
502
|
+
this.screenWidth = window.innerWidth; //screen.width;
|
|
503
503
|
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
|
|
504
|
+
console.log('Width---------------');
|
|
504
505
|
console.log(this.screenWidth);
|
|
505
|
-
console.log(
|
|
506
|
-
console.log(
|
|
506
|
+
console.log('Height--------------');
|
|
507
|
+
console.log(window.innerHeight);
|
|
508
|
+
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
|
|
507
509
|
if (this.IsDesktopView) {
|
|
508
510
|
this.currentResInfo = this.resInfo[3];
|
|
509
|
-
console.log('current res info is');
|
|
510
|
-
console.log(this.currentResInfo);
|
|
511
511
|
}
|
|
512
512
|
// else if (this.IsMobile) {
|
|
513
513
|
// this.currentResInfo = this.resInfo[0];
|
|
@@ -521,8 +521,6 @@ var RADashboardResponsiveService = /** @class */ (function () {
|
|
|
521
521
|
return item.end >= _this.screenWidth && item.start <= _this.screenWidth;
|
|
522
522
|
}))[0];
|
|
523
523
|
}
|
|
524
|
-
console.log(this.currentResInfo);
|
|
525
|
-
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
|
|
526
524
|
};
|
|
527
525
|
Object.defineProperty(RADashboardResponsiveService.prototype, "IsDesktopView", {
|
|
528
526
|
get: /**
|