@ardimedia/angular-portal-azure 0.2.125 → 0.2.126
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.d.ts +2 -1
- package/apn.js +5 -3
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ declare namespace angularportalazure {
|
|
|
50
50
|
class Blade extends angularportalazure.UserControlBase {
|
|
51
51
|
constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
|
|
52
52
|
bladeContentHeight: number;
|
|
53
|
+
bladeContentInnerHeight: number;
|
|
53
54
|
path: string;
|
|
54
55
|
private _path;
|
|
55
56
|
title: string;
|
|
@@ -155,7 +156,7 @@ declare namespace angularportalazure {
|
|
|
155
156
|
onCommandSwap(): void;
|
|
156
157
|
/** Obsolete */
|
|
157
158
|
bladeClose(): void;
|
|
158
|
-
private
|
|
159
|
+
private setBladeHeights();
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
162
|
declare namespace angularportalazure {
|
package/apn.js
CHANGED
|
@@ -283,7 +283,7 @@ var angularportalazure;
|
|
|
283
283
|
_this.portalService.bladeArea.blades[index] = _this;
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
_this.
|
|
286
|
+
_this.setBladeHeights();
|
|
287
287
|
return _this;
|
|
288
288
|
}
|
|
289
289
|
Object.defineProperty(Blade.prototype, "path", {
|
|
@@ -435,15 +435,17 @@ var angularportalazure;
|
|
|
435
435
|
};
|
|
436
436
|
//#endregion
|
|
437
437
|
//#endregion
|
|
438
|
-
Blade.prototype.
|
|
438
|
+
Blade.prototype.setBladeHeights = function () {
|
|
439
439
|
var that = this;
|
|
440
|
+
that.bladeContentHeight = $('.fxs-blade-content').height();
|
|
441
|
+
that.bladeContentInnerHeight = $('.fxs-part-content').height() - 20;
|
|
440
442
|
// http://stackoverflow.com/questions/4298612/jquery-how-to-call-resize-event-only-once-its-finished-resizing
|
|
441
443
|
var id;
|
|
442
444
|
$(window).resize(function () {
|
|
443
445
|
clearTimeout(id);
|
|
444
446
|
id = setTimeout(function () {
|
|
445
447
|
that.bladeContentHeight = $('.fxs-blade-content').height();
|
|
446
|
-
|
|
448
|
+
that.bladeContentInnerHeight = $('.fxs-part-content').height() - 20;
|
|
447
449
|
}, 500);
|
|
448
450
|
});
|
|
449
451
|
};
|
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.126",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|