Function getEntryBorderBox

Returns the border box size of the given ResizeObserverEntry.

  • Parameters

    • entry: ResizeObserverEntry
    • fallbackToContent: boolean = false

      If the entry does not contain border box measurements (depending on browser), then fall back to using the content box size. Otherwise (by default) will return NaN values for width and height.

    Returns Size