Skip to content

UseResizeObserverOptions

Defined in: src/hooks/useResizeObserver/useResizeObserver.ts:7

Properties

enabled?

optional enabled: boolean

Defined in: src/hooks/useResizeObserver/useResizeObserver.ts:13

When false, the observer is not attached. Toggling this from false to true (re-)attaches the observer; toggling back disconnects it.

Default

true