@ardimedia/angular-portal-azure 0.2.158 → 0.2.159
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 -4
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -105,9 +105,7 @@ var angularportalazure;
|
|
|
105
105
|
var id;
|
|
106
106
|
this.portalService.$window.addEventListener('resize', function () {
|
|
107
107
|
clearTimeout(id);
|
|
108
|
-
id = setTimeout(function () {
|
|
109
|
-
callback();
|
|
110
|
-
}, 50);
|
|
108
|
+
id = setTimeout(function () { callback(); }, 50);
|
|
111
109
|
});
|
|
112
110
|
};
|
|
113
111
|
return UserControlBase;
|
|
@@ -230,7 +228,7 @@ var angularportalazure;
|
|
|
230
228
|
throw new Error('[angularportalazure.Blade] constructor parameter \'width\' must be at least 50.');
|
|
231
229
|
}
|
|
232
230
|
// Set 'this.portalService.areaBlades.blades[index]' to 'this'
|
|
233
|
-
//
|
|
231
|
+
// 'this.portalService.areaBlades.blades[index]' was generated during AddBlade
|
|
234
232
|
_this.portalService.areaBlades.blades.forEach(function (blade, index) {
|
|
235
233
|
if (blade.path === _this.path) {
|
|
236
234
|
_this.portalService.areaBlades.blades[index] = _this;
|
|
@@ -391,6 +389,9 @@ var angularportalazure;
|
|
|
391
389
|
Blade.prototype.setBladeHeights = function () {
|
|
392
390
|
var _this = this;
|
|
393
391
|
this.portalService.$timeout(function () {
|
|
392
|
+
console.log(_this.portalService);
|
|
393
|
+
console.log(_this.portalService.$window);
|
|
394
|
+
console.log(_this.portalService.$window.innerHeight);
|
|
394
395
|
_this.bladeContentHeight = _this.portalService.$window.innerHeight - 125; // 125 = header
|
|
395
396
|
_this.bladeContentHeightInner = _this.bladeContentHeight - 50 - 3; // 50 = padding (top and bottom), somehow we miss 3px
|
|
396
397
|
}, 50);
|
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.159",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|