neo.mjs 4.0.60 → 4.0.61

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "4.0.60",
3
+ "version": "4.0.61",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -57,7 +57,7 @@
57
57
  "sass": "^1.53.0",
58
58
  "webpack": "^5.73.0",
59
59
  "webpack-cli": "^4.10.0",
60
- "webpack-dev-server": "4.9.2",
60
+ "webpack-dev-server": "4.9.3",
61
61
  "webpack-hook-plugin": "^1.0.7",
62
62
  "webpack-node-externals": "^3.0.0"
63
63
  },
@@ -112,7 +112,7 @@ class Base extends Panel {
112
112
  /**
113
113
  * @member {String} title='Dialog Title'
114
114
  */
115
- title: 'Dialog Title',
115
+ title_: 'Dialog Title',
116
116
  /**
117
117
  * @member {Object} _vdom
118
118
  */
@@ -270,6 +270,18 @@ class Base extends Panel {
270
270
  });
271
271
  }
272
272
 
273
+ /**
274
+ * Triggered after the title config got changed
275
+ * @param {String} value
276
+ * @param {String} oldValue
277
+ * @protected
278
+ */
279
+ afterSetTitle(value, oldValue) {
280
+ if (oldValue) {
281
+ this.down({flag: 'title-label'}).text = value;
282
+ }
283
+ }
284
+
273
285
  /**
274
286
  *
275
287
  */
@@ -399,6 +411,7 @@ class Base extends Panel {
399
411
  id : me.getHeaderToolbarId(),
400
412
  items: [{
401
413
  ntype: 'label',
414
+ flag : 'title-label',
402
415
  text : me.title
403
416
  }, '->', {
404
417
  iconCls: 'far fa-window-maximize',