Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UseResizeObserverOptions<E>

remarks

@since 2.3.0

Type parameters

  • E: HTMLElement

Hierarchy

  • UseResizeObserverOptions

Index

Properties

disableHeight?: boolean

Boolean if the onResize callback should not be triggered if only the height has changed for the watched element.

disableWidth?: boolean

Boolean if the onResize callback should not be triggered if only the width has changed for the watched element.

ref?: Ref<null | E>

An optional ref to merge with the returned ref handler function

Generated using TypeDoc