@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
|
@@ -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(
|
|
710
|
+
console.log(screen.width);
|
|
712
711
|
console.log('Height--------------');
|
|
713
|
-
console.log(
|
|
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 {?}
|