quickMount property

bool? quickMount
getter/setter pair

Whether quick-mount mode is enabled, which minimizes layouts caused by accessing element dimensions during initialization, allowing the component to mount faster.

When enabled:

  • The initial dimensions will not be retrieved, so the first onResize event will contain 0 for the previous dimensions.

  • The sensors will be initialized/reset in the next animation frame after mount, as opposed to synchronously, helping to break up resulting layouts.

Default: false

Implementation

bool? quickMount;