You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a way to reference a client side rendered child (inner) widget without the need to hold a reference to it from the parent...
Because holding a reference to a inner widgets requires to listen to its lifecycle events to prevent memory leaks (when holding a direct reference to the widget), or to invalidate the string ID (if that is stored) if the inner widget gets destroyed.
When there would be a way to give a name/id at render time, the inner widget could be easily be referenced later with this.getWidget("widgetID")
The this.getElId('foo') method would be used to generate the fully qualified DOM element ID for the newly rendered component that is then appended to the parent.
The text was updated successfully, but these errors were encountered:
We need a way to reference a client side rendered child (inner) widget without the need to hold a reference to it from the parent...
Because holding a reference to a inner widgets requires to listen to its lifecycle events to prevent memory leaks (when holding a direct reference to the widget), or to invalidate the string ID (if that is stored) if the inner widget gets destroyed.
When there would be a way to give a name/id at render time, the inner widget could be easily be referenced later with
this.getWidget("widgetID")
Something like that would do it (probably):
The this.getElId('foo') method would be used to generate the fully qualified DOM element ID for the newly rendered component that is then appended to the parent.
The text was updated successfully, but these errors were encountered: