@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.
@@ -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(this.screenWidth);
504
+ console.log(screen.width);
506
505
  console.log('Height--------------');
507
- console.log(window.innerHeight);
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 {?}