Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UseResizeObserverOptions<E>

remarks

@since 2.3.0

Type parameters

  • E: HTMLElement

Hierarchy

  • UseResizeObserverOptions

Index

Properties

Optional disableHeight

disableHeight: boolean

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

Optional disableWidth

disableWidth: boolean

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

Optional ref

ref: Ref<null | E>

An optional ref to merge with the returned ref handler function

Generated using TypeDoc