noop: rename internal event for better clarity
This commit is contained in:
parent
4627fa9c02
commit
8cf854af2e
2 changed files with 2 additions and 2 deletions
|
|
@ -1002,7 +1002,7 @@ class Widget extends EventEmitter {
|
|||
// emit prop-changed event if not already
|
||||
// to make sure an advanced syntax changes don't go unnoticed by clone
|
||||
var unNotified = propNames.filter(n => !changedProps.includes(n))
|
||||
widgetManager.trigger('prop-changed-maybe', {
|
||||
widgetManager.trigger('prop-src-changed', {
|
||||
id: this.getProp('id'),
|
||||
props: unNotified,
|
||||
widget: this,
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ class Clone extends Container() {
|
|||
widgetManager.on('prop-changed', onPropChanged, {context: this})
|
||||
|
||||
// see common/widget.js @ updateProps()
|
||||
widgetManager.on('prop-changed-maybe', onPropChanged, {context: this})
|
||||
widgetManager.on('prop-src-changed', onPropChanged, {context: this})
|
||||
|
||||
this.on('widget-created', (e)=>{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue