Docs (4.0.0)
class UIContainer method

delegateContentEvent

Delegates events from content view objects.

protected

protected delegateContentEvent(event: ManagedEvent, emitDelegate?: boolean): true | undefined

Notes

  • This method is called automatically when an event is emitted by any of the content view objects.
  • For most events (see below), the base implementation re-emits the same event on the container view itself; or a new event object with delegate property set to the container, if the emitDelegate parameter is set to true.
  • Events not re-emitted include (list) change events, renderer events (@link RenderContext.RendererEvent), and cell MouseEnter and MouseLeave events.
  • This method may be overridden to handle events in any other way.

Parameters

  • event — The event to be delegated (from a content view object)

Return value

True if the event has been re-emitted

Related

  • class UIContainer abstractA base view class that represents a container component with no specific layout or styling.