@ardimedia/angular-portal-azure 0.2.129 → 0.2.130
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 -2
- package/apn.js +4 -3
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ declare namespace angularportalazure {
|
|
|
158
158
|
onCommandSwap(): void;
|
|
159
159
|
/** Obsolete */
|
|
160
160
|
bladeClose(): void;
|
|
161
|
-
setTitle(text: string): void;
|
|
161
|
+
setTitle(watchExpression: string, text: string): void;
|
|
162
162
|
private setBladeHeights();
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -272,7 +272,7 @@ declare namespace angularportalazure {
|
|
|
272
272
|
/** Obsolete
|
|
273
273
|
* start using this.bladesNew.blades. */
|
|
274
274
|
blades: any[];
|
|
275
|
-
constructor(
|
|
275
|
+
constructor(portalService: angularportalazure.PortalService, title: string);
|
|
276
276
|
initialize(): void;
|
|
277
277
|
setObsoleteLayoutProperites(): void;
|
|
278
278
|
}
|
package/apn.js
CHANGED
|
@@ -436,10 +436,11 @@ var angularportalazure;
|
|
|
436
436
|
};
|
|
437
437
|
//#endregion
|
|
438
438
|
//#endregion
|
|
439
|
-
Blade.prototype.setTitle = function (text) {
|
|
439
|
+
Blade.prototype.setTitle = function (watchExpression, text) {
|
|
440
440
|
var _this = this;
|
|
441
|
+
console.log(this.watcherTitle);
|
|
441
442
|
if (this.watcherTitle === undefined) {
|
|
442
|
-
this.watcherTitle = this.$scope.$watch(
|
|
443
|
+
this.watcherTitle = this.$scope.$watch(watchExpression, function () { _this.title = (text || ''); });
|
|
443
444
|
this.$scope.$on('$destroy', function () { _this.watcherTitle(); });
|
|
444
445
|
}
|
|
445
446
|
};
|
|
@@ -862,7 +863,7 @@ var angularportalazure;
|
|
|
862
863
|
//#endregion
|
|
863
864
|
//#endregion
|
|
864
865
|
//#region Constructor
|
|
865
|
-
function PortalShell(
|
|
866
|
+
function PortalShell(portalService, title) {
|
|
866
867
|
var _this = _super.call(this, null, portalService) || this;
|
|
867
868
|
_this.portalService = portalService;
|
|
868
869
|
_this.portalService.portalShell = _this;
|
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.130",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|