@ardimedia/angular-portal-azure 0.2.27 → 0.2.28
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 +6 -2
- package/directives/nav/nav.ts +6 -2
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1106,8 +1106,12 @@ var angularportalazure;
|
|
|
1106
1106
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
1107
1107
|
link: function (scope, element, attrs, controller) {
|
|
1108
1108
|
//console.log('nav.link()');
|
|
1109
|
-
|
|
1110
|
-
|
|
1109
|
+
console.log(this);
|
|
1110
|
+
console.log(scope);
|
|
1111
|
+
console.log(element);
|
|
1112
|
+
console.log(attrs);
|
|
1113
|
+
console.log(controller);
|
|
1114
|
+
angular.forEach(controller.vm.navItems, function (item) {
|
|
1111
1115
|
// Set some default values, depending on existing values
|
|
1112
1116
|
if (item.isVisible == undefined) {
|
|
1113
1117
|
item.isVisible = true;
|
package/directives/nav/nav.ts
CHANGED
|
@@ -7,8 +7,12 @@
|
|
|
7
7
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
8
8
|
link: function (scope, element, attrs, controller) {
|
|
9
9
|
//console.log('nav.link()');
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
console.log(this);
|
|
11
|
+
console.log(scope);
|
|
12
|
+
console.log(element);
|
|
13
|
+
console.log(attrs);
|
|
14
|
+
console.log(controller);
|
|
15
|
+
angular.forEach(controller.vm.navItems, function (item) {
|
|
12
16
|
// Set some default values, depending on existing values
|
|
13
17
|
if (item.isVisible == undefined) { item.isVisible = true; }
|
|
14
18
|
if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
|
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.28",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|