|
|
@ -251,12 +251,14 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
__afterMount: function (lifeHook, predicate) { |
|
|
|
__afterMount: function (lifeHook, predicate) { |
|
|
|
|
|
|
|
if (this._isMounted) { |
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
widget.__afterMount && widget.__afterMount(lifeHook, predicate); |
|
|
|
widget.__afterMount && widget.__afterMount(lifeHook, predicate); |
|
|
|
}); |
|
|
|
}); |
|
|
|
lifeHook !== false && callLifeHook(this, "mounted"); |
|
|
|
lifeHook !== false && callLifeHook(this, "mounted"); |
|
|
|
this.fireEvent(BI.Events.MOUNT); |
|
|
|
this.fireEvent(BI.Events.MOUNT); |
|
|
|
predicate && predicate(this); |
|
|
|
predicate && predicate(this); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: null, |
|
|
|
_mountChildren: null, |
|
|
|