OnResizeHandlerArgs: [Element, SizeData]

The handler is invoked with three arguments:

  • the element that has been resized: if the target you requested was the viewport, then this will be a fixed positioned overlay that tracks the size of the viewport
  • the SizeData for the element