Example #1
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:resize resize} event of this <code>sap.ui.ux3.NotificationBar</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.ux3.NotificationBar detachResize(sap.ui.ux3.NotificationBar.ResizeDelegate fnFunction, object oListener);
Example #2
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:resize resize} event of this <code>sap.ui.ux3.NotificationBar</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.ux3.NotificationBar</code> itself.
 ///
 /// This event is thrown when the bar was resized (to the different valid states: Min, Max, Default, None). The event itself can be used from SAPUI5-version 1.12.2 since there was a bug in the previous versions firing this event.
 /// </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.ux3.NotificationBar attachResize(sap.ui.ux3.NotificationBar.ResizeDelegate fnFunction);