API Reference 0.3.24dart_web_toolkit_eventHasResizeHandlers

HasResizeHandlers abstract class

A widget that implements this interface is a public source of {@link ResizeEvent} events.

abstract class HasResizeHandlers extends HasHandlers {

 /**
  * Adds a {@link ResizeEvent} handler.
  *
  * @param handler the handler
  * @return the handler registration
  */
 HandlerRegistration addResizeHandler(ResizeHandler handler);
}

Extends

HasHandlers > HasResizeHandlers

Subclasses

ResizeLayoutPanel

Methods

abstract HandlerRegistration addResizeHandler(ResizeHandler handler) #

Adds a {@link ResizeEvent} handler.

@param handler the handler @return the handler registration

abstract void fireEvent(DwtEvent event) #

inherited from HasHandlers

Fires the given event to the handlers listening to the event's type.

Any exceptions thrown by handlers will be bundled into a UmbrellaException and then re-thrown after all handlers have completed. An exception thrown by a handler will not prevent other handlers from executing.

@param event the event