@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.
@@ -705,20 +705,25 @@
705
705
  */
706
706
  function () {
707
707
  var _this = this;
708
- this.screenWidth = window.innerWidth; //screen.width;
709
708
  console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
710
709
  console.log('Width---------------');
711
- console.log(this.screenWidth);
710
+ console.log(screen.width);
712
711
  console.log('Height--------------');
713
- console.log(window.innerHeight);
712
+ console.log(screen.height);
713
+ console.log('Orientation---------------');
714
+ console.log(screen.orientation.angle);
714
715
  console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
716
+ this.screenWidth = screen.width;
715
717
  if (this.IsDesktopView) {
716
718
  this.currentResInfo = this.resInfo[3];
717
719
  }
718
- // else if (this.IsMobile) {
719
- // this.currentResInfo = this.resInfo[0];
720
- // }
721
720
  else {
721
+ // if (this.IsMobile) {
722
+ // if (screen.orientation.angle == 0)
723
+ // this.screenWidth = screen.width;
724
+ // else if (screen.orientation.angle == 90)
725
+ // this.screenWidth = screen.height;
726
+ // }
722
727
  this.currentResInfo = this.resInfo.filter((/**
723
728
  * @param {?} item
724
729
  * @return {?}