@schneideress/dashboardframework 0.0.166 → 0.0.168
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 +11 -6
- 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 +12 -7
- package/esm5/lib/ra.dashboard.responsive.service.js +12 -7
- package/fesm2015/schneideress-dashboardframework.js +11 -6
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +11 -6
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
|
@@ -499,20 +499,25 @@ var RADashboardResponsiveService = /** @class */ (function () {
|
|
|
499
499
|
*/
|
|
500
500
|
function () {
|
|
501
501
|
var _this = this;
|
|
502
|
-
this.screenWidth = window.innerWidth; //screen.width;
|
|
503
502
|
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
|
|
504
503
|
console.log('Width---------------');
|
|
505
|
-
console.log(
|
|
504
|
+
console.log(screen.width);
|
|
506
505
|
console.log('Height--------------');
|
|
507
|
-
console.log(
|
|
506
|
+
console.log(screen.height);
|
|
507
|
+
console.log('Orientation---------------');
|
|
508
|
+
console.log(screen.orientation.angle);
|
|
508
509
|
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
|
|
510
|
+
this.screenWidth = screen.width;
|
|
509
511
|
if (this.IsDesktopView) {
|
|
510
512
|
this.currentResInfo = this.resInfo[3];
|
|
511
513
|
}
|
|
512
|
-
// else if (this.IsMobile) {
|
|
513
|
-
// this.currentResInfo = this.resInfo[0];
|
|
514
|
-
// }
|
|
515
514
|
else {
|
|
515
|
+
// if (this.IsMobile) {
|
|
516
|
+
// if (screen.orientation.angle == 0)
|
|
517
|
+
// this.screenWidth = screen.width;
|
|
518
|
+
// else if (screen.orientation.angle == 90)
|
|
519
|
+
// this.screenWidth = screen.height;
|
|
520
|
+
// }
|
|
516
521
|
this.currentResInfo = this.resInfo.filter((/**
|
|
517
522
|
* @param {?} item
|
|
518
523
|
* @return {?}
|