/// <summary> /// Detaches event handler <code>fnFunction</code> from the {@link #event:afterRendering afterRendering} event of this <code>sap.ui.core.HTML</code>. /// /// The passed function and listener object must match the ones used for event registration. /// </summary> /// <param name="fnFunction">The function to be called, when the event occurs</param> /// <param name="oListener">Context object on which the given function had to be called</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.core.HTML detachAfterRendering(sap.ui.core.HTML.AfterRenderingDelegate fnFunction, object oListener);
/// <summary> /// Attaches event handler <code>fnFunction</code> to the {@link #event:afterRendering afterRendering} event of this <code>sap.ui.core.HTML</code>. /// /// When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code> if specified, otherwise it will be bound to this <code>sap.ui.core.HTML</code> itself. /// /// Fired after the HTML control has been rendered. Allows to manipulate the resulting DOM. /// /// When the control doesn't have string content and no preserved DOM existed for this control, then this event will fire, but there won't be a DOM node for this control. /// </summary> /// <param name="fnFunction">The function to be called when the event occurs</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.core.HTML attachAfterRendering(sap.ui.core.HTML.AfterRenderingDelegate fnFunction);