Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IProps

Index

Properties

Methods

Properties

Optional delay

delay: MillisecondsAccepted

Often, components need to know their width to be able to render to the correct height. Setting this delay allows the height to only be reported after a rendering period where the element can sort things out.

Optional element

element: Element

The element to render offscreen

Methods

onHeight

  • onHeight(height: number): void
  • Invoked when the height of the content is known

    Parameters

    • height: number

      the device pixel height of the content

    Returns void