@ardimedia/angular-portal-azure 0.2.145 → 0.2.147
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/apn.js +5 -2
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -324,8 +324,8 @@ var angularportalazure;
|
|
|
324
324
|
_this.portalService.areaBlades.blades[index] = _this;
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
|
-
_this.setBladeHeights();
|
|
328
327
|
_this.setupWindowResizeListener(function () { _this.setBladeHeights(); });
|
|
328
|
+
_this.setBladeHeights();
|
|
329
329
|
return _this;
|
|
330
330
|
}
|
|
331
331
|
Object.defineProperty(Blade.prototype, "path", {
|
|
@@ -498,9 +498,12 @@ var angularportalazure;
|
|
|
498
498
|
Blade.prototype.setBladeHeights = function () {
|
|
499
499
|
var _this = this;
|
|
500
500
|
this.portalService.$timeout(function () {
|
|
501
|
+
console.log(_this.portalService.$window.innerHeight);
|
|
501
502
|
_this.bladeContentHeight = _this.portalService.$window.innerHeight - 125; // header
|
|
502
503
|
_this.bladeContentInnerHeight = _this.bladeContentHeight - 50; // padding
|
|
503
|
-
|
|
504
|
+
console.log(_this.bladeContentHeight);
|
|
505
|
+
console.log(_this.bladeContentInnerHeight);
|
|
506
|
+
}, 50);
|
|
504
507
|
//// http://stackoverflow.com/questions/4298612/jquery-how-to-call-resize-event-only-once-its-finished-resizing
|
|
505
508
|
//var id: NodeJS.Timer;
|
|
506
509
|
//$(window).resize(function () {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.147",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|